Skip to content

Commit

Permalink
Try to cleanup the linux and macos zips from recent commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ensiform committed Mar 8, 2024
1 parent 55b3573 commit 85227b9
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,17 +135,22 @@ jobs:

- name: Configure CMake
run: |
cmake -E make_directory build
cmake -E make_directory bin
if [ ${{ matrix.arch }} == "x86" ]; then
cmake -S src -B bin -G "Ninja" -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DUSE_SDL2=${{ matrix.use_sdl }} -DBUILD_ETMAIN_MOD=ON -DCMAKE_TOOLCHAIN_FILE=../src/cmake/toolchains/linux-i686.cmake
cmake -S src -B build -G "Ninja" -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DUSE_SDL2=${{ matrix.use_sdl }} -DBUILD_ETMAIN_MOD=ON -DCMAKE_TOOLCHAIN_FILE=../src/cmake/toolchains/linux-i686.cmake -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/bin
else
cmake -S src -B bin -G "Ninja" -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DUSE_SDL2=${{ matrix.use_sdl }} -DBUILD_ETMAIN_MOD=ON
cmake -S src -B build -G "Ninja" -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DUSE_SDL2=${{ matrix.use_sdl }} -DBUILD_ETMAIN_MOD=ON -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/bin
fi
- name: Build
working-directory: bin
working-directory: build
run: cmake --build . --config ${{ matrix.config }} --parallel

- name: Install
working-directory: build
run: cmake --install .

- uses: actions/upload-artifact@v4
if: matrix.config == 'Release'
with:
Expand Down Expand Up @@ -180,13 +185,18 @@ jobs:

- name: Configure CMake
run: |
cmake -E make_directory build
cmake -E make_directory bin
cmake -S src -B bin -G "Ninja" -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DUSE_SDL2=TRUE -DBUILD_ETMAIN_MOD=ON -DUSE_SYSTEM_JPEG=OFF
cmake -S src -B build -G "Ninja" -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DUSE_SDL2=TRUE -DBUILD_ETMAIN_MOD=ON -DUSE_SYSTEM_JPEG=OFF -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/bin
- name: Build
working-directory: bin
working-directory: build
run: cmake --build . --config ${{ matrix.config }} --parallel

- name: Install
working-directory: build
run: cmake --install .

- uses: actions/upload-artifact@v4
if: matrix.config == 'Release'
with:
Expand Down

0 comments on commit 85227b9

Please sign in to comment.