-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Build Check | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Step 1: Checkout the repository | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
# Step 2: Move to the parent directory and fetch dependencies | ||
- name: Fetch dependencies | ||
run: | | ||
cd .. | ||
git clone https://github.com/razterizer/Core.git | ||
git clone https://github.com/razterizer/Termin8or.git | ||
git clone https://github.com/razterizer/AudioLibSwitcher_OpenAL.git --recurse-submodules | ||
# Step 3: Install OpenAL | ||
- name: Install OpenAL | ||
run: sudo apt install libopenal-dev | ||
|
||
# Step 4: Change to the correct directory and build | ||
- name: Build project | ||
run: | | ||
cd demos | ||
./build_demo_1.sh | ||
continue-on-error: false # Ensure errors are not bypassed |