Skip to content

Commit

Permalink
Update CI workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
VolkerEnderlein committed Dec 13, 2023
1 parent 627e3d9 commit 1d16d8b
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ jobs:
name: Ubuntu Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Create build directory and run CMake
run: |
sudo apt-get -y update
Expand All @@ -25,7 +26,7 @@ jobs:
# run: ctest -C Release -VV
# working-directory: cmake_build_dir
- name: Create Artifacts
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
with:
name: Ubuntu-Artifacts
path: cmake_install_dir/
Expand All @@ -35,9 +36,10 @@ jobs:
name: Windows Build
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Create build directory and run CMake
run: |
cmake -S . -B cmake_build_dir -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=cmake_install_dir -DSIMAGE_LIBSNDFILE_SUPPORT=OFF -DSIMAGE_OGGVORBIS_SUPPORT=OFF
Expand All @@ -48,7 +50,7 @@ jobs:
# run: ctest -C Release -VV
# working-directory: cmake_build_dir
- name: Create Artifacts
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
with:
name: Windows-Artifacts
path: cmake_install_dir/
Expand All @@ -58,9 +60,10 @@ jobs:
name: MacOS Build
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Create build directory and run CMake
run: |
brew install jpeg giflib libtiff libogg libvorbis libsndfile zlib
Expand All @@ -71,7 +74,7 @@ jobs:
# run: ctest -C Release -VV
# working-directory: cmake_build_dir
- name: Create Artifacts
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
with:
name: MacOS-Artifacts
path: cmake_install_dir/
Expand Down

0 comments on commit 1d16d8b

Please sign in to comment.