Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Bishop-333 authored Mar 5, 2024
1 parent d02194e commit 89a1c4e
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ jobs:
if: ${{ github.event_name != 'release' || matrix.btype != 'Debug' }} # skip Debug configuration in Release build
run: |
make clean ARCH=${{ matrix.arch }}
make ${{ matrix.rule }} -j 8 ARCH=${{ matrix.arch }} CC=${{ matrix.cc }} DESTDIR=bin RENDERER_DEFAULT=opengl QUAKE3=1
make ${{ matrix.rule }} -j 8 ARCH=${{ matrix.arch }} CC=${{ matrix.cc }} DESTDIR=bin RENDERER_DEFAULT=opengl
make clean ARCH=${{ matrix.arch }}
make ${{ matrix.rule }} -j 8 ARCH=${{ matrix.arch }} CC=${{ matrix.cc }} DESTDIR=bin RENDERER_DEFAULT=vulkan QUAKE3=1
make ${{ matrix.rule }} -j 8 ARCH=${{ matrix.arch }} CC=${{ matrix.cc }} DESTDIR=bin RENDERER_DEFAULT=vulkan
- uses: actions/upload-artifact@v4
if: matrix.cc == 'gcc' && matrix.btype == 'release'
Expand Down Expand Up @@ -122,9 +122,9 @@ jobs:
- name: Build
if: ${{ github.event_name != 'release' || matrix.btype != 'Debug' }} # skip in Release builds
run: |
make ${{ matrix.rule }} -j 8 ARCH=${{ matrix.arch }} CC=${{ matrix.cc }} DESTDIR=bin ${{ matrix.use_sdl }} RENDERER_DEFAULT=opengl QUAKE3=1
make ${{ matrix.rule }} -j 8 ARCH=${{ matrix.arch }} CC=${{ matrix.cc }} DESTDIR=bin ${{ matrix.use_sdl }} RENDERER_DEFAULT=opengl
make clean ARCH=${{ matrix.arch }}
make ${{ matrix.rule }} -j 8 ARCH=${{ matrix.arch }} CC=${{ matrix.cc }} DESTDIR=bin ${{ matrix.use_sdl }} RENDERER_DEFAULT=vulkan QUAKE3=1
make ${{ matrix.rule }} -j 8 ARCH=${{ matrix.arch }} CC=${{ matrix.cc }} DESTDIR=bin ${{ matrix.use_sdl }} RENDERER_DEFAULT=vulkan
- uses: actions/upload-artifact@v4
if: matrix.cc == 'gcc' && matrix.btype == 'release'
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
- name: Build
if: ${{ github.event_name != 'release' || matrix.btype != 'Debug' }} # skip Debug configuration in Release build
run: |
make ${{ matrix.rule }} -j 8 ARCH=${{ matrix.arch }} CC=${{ matrix.cc }} DESTDIR=bin INSTALL=ginstall STRIP=echo QUAKE3=1
make ${{ matrix.rule }} -j 8 ARCH=${{ matrix.arch }} CC=${{ matrix.cc }} DESTDIR=bin INSTALL=ginstall STRIP=echo
- uses: actions/upload-artifact@v4
if: matrix.cc == 'gcc' && matrix.btype == 'release'
Expand All @@ -182,18 +182,18 @@ jobs:

- name: Create binary archives
run: |
7z a -r q3-omega-engine-linux-x86.zip ./release-linux-x86
7z a -r q3-omega-engine-linux-x86_64.zip ./release-linux-x86_64
7z a -r q3-omega-engine-windows-x86.zip ./release-mingw64-x86
7z a -r q3-omega-engine-windows-x86_64.zip ./release-mingw64-x86_64
7z a -r q3-omega-engine-macos-x86_64.zip ./release-darwin-x86_64
7z a -r q3-omega-engine-macos-arm64.zip ./release-darwin-arm64
7z a -r omega-engine-linux-x86.zip ./release-linux-x86
7z a -r omega-engine-linux-x86_64.zip ./release-linux-x86_64
7z a -r omega-engine-windows-x86.zip ./release-mingw64-x86
7z a -r omega-engine-windows-x86_64.zip ./release-mingw64-x86_64
7z a -r omega-engine-macos-x86_64.zip ./release-darwin-x86_64
7z a -r omega-engine-macos-arm64.zip ./release-darwin-arm64
- name: Create latest build
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: "q3-omega"
automatic_release_tag: "omega"
prerelease: true
title: Development Build (Quake3 as default)
files: |
*.zip
*.zip

0 comments on commit 89a1c4e

Please sign in to comment.