build with gcc 10 by default

develop
Myk Taylor 2023-07-31 03:56:11 -07:00
parent 52a478d1d7
commit bbe7dbb0b8
No known key found for this signature in database
4 changed files with 43 additions and 40 deletions

@ -34,7 +34,7 @@ on:
default: false default: false
gcc-ver: gcc-ver:
type: string type: string
default: "11" default: "10"
jobs: jobs:
build-linux64: build-linux64:

@ -25,7 +25,7 @@ jobs:
test-linux: test-linux:
name: Test (Linux, GCC ${{ matrix.gcc }}, ${{ matrix.plugins }} plugins) name: Test (Linux, GCC ${{ matrix.gcc }}, ${{ matrix.plugins }} plugins)
needs: build-linux needs: build-linux
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -80,7 +80,6 @@ jobs:
cache-id: release cache-id: release
stonesense: true stonesense: true
docs: true docs: true
gcc-ver: "10"
secrets: inherit secrets: inherit
package-win64: package-win64:

@ -1,4 +1,5 @@
name: Clean up PR caches name: Clean up PR caches
on: on:
pull_request_target: pull_request_target:
types: types:

@ -30,58 +30,61 @@ jobs:
stonesense: true stonesense: true
secrets: inherit secrets: inherit
depot-linux: depot-win64:
name: Linux depot files name: Windows depot files
uses: ./.github/workflows/build-linux.yml uses: ./.github/workflows/build-windows.yml
with: with:
artifact-name: linux64-depot artifact-name: win64-depot
ref: ${{ github.event.inputs.ref }} ref: ${{ github.event.inputs.ref }}
cache-id: release cache-id: release
cache-readonly: true cache-readonly: true
common-files: false common-files: false
stonesense: true
gcc-ver: "10"
secrets: inherit secrets: inherit
depot-win64: depot-linux64:
name: Windows depot files name: Linux depot files
uses: ./.github/workflows/build-windows.yml uses: ./.github/workflows/build-linux.yml
with: with:
artifact-name: win64-depot artifact-name: linux64-depot
ref: ${{ github.event.inputs.ref }} ref: ${{ github.event.inputs.ref }}
cache-id: release cache-id: release
cache-readonly: true cache-readonly: true
common-files: false common-files: false
stonesense: true
secrets: inherit secrets: inherit
deploy-to-steam: deploy-to-steam:
name: Deploy to Steam name: Deploy to Steam
needs:
- depot-common
- depot-win64
- depot-linux64
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Stage common depot files - name: Stage common depot files
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
with: with:
name: common-depot name: common-depot
path: common path: common
- name: Stage linux64 depot files - name: Stage win64 depot files
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
with: with:
name: linux64-depot name: win64-depot
path: linux64 path: win64
- name: Stage win64 depot files - name: Stage linux64 depot files
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
with: with:
name: win64-depot name: linux64-depot
path: win64 path: linux64
- name: Steam deploy - name: Steam deploy
uses: game-ci/steam-deploy@v3 uses: game-ci/steam-deploy@v3
with: with:
username: ${{ secrets.STEAM_USERNAME }} username: ${{ secrets.STEAM_USERNAME }}
configVdf: ${{ secrets.STEAM_CONFIG_VDF}} configVdf: ${{ secrets.STEAM_CONFIG_VDF}}
appId: 2346660 appId: 2346660
buildDescription: ${{ github.event.inputs.version }} buildDescription: ${{ github.event.inputs.version }}
rootPath: build rootPath: build
depot1Path: common depot1Path: common
depot2Path: win64 depot2Path: win64
depot3Path: linux64 depot3Path: linux64
releaseBranch: ${{ github.event.inputs.release_channel }} releaseBranch: ${{ github.event.inputs.release_channel }}