Skip to content

Commit

Permalink
CI: download dummy image
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-johansson committed Dec 15, 2023
1 parent 1003cde commit f94d8d0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ jobs:
- name: Register custom Vcpkg triplet file
run: cp "cmake/x64-osx-tactile.cmake" "$VCPKG_ROOT/triplets/community/x64-osx-tactile.cmake"

- name: Download assets
run: wget --output-document "assets/images/dummy.png" "https://dummyimage.com/96x64.png"

- name: Generate build files
run: |
mkdir build && cd build
Expand All @@ -58,6 +61,10 @@ jobs:
- name: Build
run: ninja -C build

- name: Run foundation unit tests
working-directory: ./build/debug
run: ./tactile-foundation-test

- name: Run core unit tests
working-directory: ./build/debug
run: ./tactile-core-test
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ jobs:
--exec /usr/bin/Xvfb -- :99 -screen 0 800x600x24 -ac +extension GLX;
sleep 3
- name: Download assets
run: wget --output-document "assets/images/dummy.png" "https://dummyimage.com/96x64.png"

- name: Generate build files
env:
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
Expand All @@ -80,6 +83,10 @@ jobs:
- name: Build
run: ninja -C build

- name: Run foundation unit tests
working-directory: ./build/debug
run: ./tactile-foundation-test

- name: Run core unit tests
working-directory: ./build/debug
run: ./tactile-core-test
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
run: Copy-Item -Path "cmake\x64-windows-tactile.cmake" `
-Destination "$ENV:VCPKG_ROOT\triplets\community\x64-windows-tactile.cmake"

- name: Download assets
run: Invoke-WebRequest "https://dummyimage.com/96x64.png" -OutFile "assets\images\dummy.png"

- name: Generate build files
env:
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
Expand All @@ -59,6 +62,10 @@ jobs:
- name: Build
run: ninja -C build

- name: Run foundation unit tests
working-directory: ./build/debug
run: .\tactile-foundation-test.exe

- name: Run core unit tests
working-directory: ./build/debug
run: .\tactile-core-test.exe
Expand Down

0 comments on commit f94d8d0

Please sign in to comment.