Skip to content

Commit

Permalink
Update build-and-test-ubuntu.yml
Browse files Browse the repository at this point in the history
Adding job that builds the examples.
  • Loading branch information
razterizer authored Dec 17, 2024
1 parent 62ca30a commit 9782c90
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-and-test-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,34 @@ on:
- main

jobs:
build-examples:
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
# Step 3: Change to the correct directory and build
- name: Build
run: |
cd Examples
./build_examples.sh
continue-on-error: false # Ensure errors are not bypassed

# Step 4: Upload the built unit test binaries as artifacts
- name: Upload unit test binaries
uses: actions/upload-artifact@v3
with:
name: unit-test-artifacts
path: Tests/bin

build-unit-tests:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 9782c90

Please sign in to comment.