Skip to content

Commit

Permalink
Update Github Actions Workflows
Browse files Browse the repository at this point in the history
- Run workflow 'Full Compile Check' on push to branch 'extreme'.
- Run workflow 'Make Release Builds' on push to branch 'test'.
- Build for macOS without notarizing.
- Update submodules before building.
  • Loading branch information
LordNyriox authored Apr 4, 2023
1 parent bdacc25 commit 87cd83b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/FullCompileCheck.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Full Compile Check

on: [workflow_dispatch]
on:
push:
branches:
- extreme
workflow_dispatch:

jobs:
full-compile-check:
Expand Down Expand Up @@ -28,5 +32,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: 'recursive'

- name: Update submodules from origin
run: git submodule update --recursive --remote

- run: ${{matrix.platform.prefix}} python3 build.py --dependencies --configure --build ${{matrix.platform.extraflags}}
2 changes: 2 additions & 0 deletions .github/workflows/ReleaseBuilds-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Update submodules from origin
run: git submodule update --recursive --remote

# Create shared directory ON HOST. (If it's done within qemu, it'll be created with root permissions)
- name: Create artifacts directory shared with docker
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/ReleaseBuilds.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Make Release Builds

on: [workflow_dispatch]
on:
push:
branches:
- test
workflow_dispatch:

jobs:
build-linux-appimage:
Expand All @@ -10,6 +14,8 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Update submodules from origin
run: git submodule update --recursive --remote
- name: Get build dependencies for SDL from APT # cf. https://github.com/libsdl-org/SDL/blob/main/docs/README-linux.md
run: |
sudo apt update
Expand All @@ -34,6 +40,8 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Update submodules from origin
run: git submodule update --recursive --remote
- run: python3 build.py --dependencies
- run: python3 build.py --configure -G 'Visual Studio 17 2022'
- run: python3 build.py --build
Expand All @@ -56,6 +64,8 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Update submodules from origin
run: git submodule update --recursive --remote
- name: Get artifact name
run: |
ARTIFACT_NAME="$(python3 build.py --print-artifact-name)"
Expand Down

0 comments on commit 87cd83b

Please sign in to comment.