Skip to content

Commit

Permalink
Added workflow action
Browse files Browse the repository at this point in the history
  • Loading branch information
ypujante committed Dec 2, 2024
1 parent 83099bb commit f0dd47d
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/run-tests-macos-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Run Tests (macOS)

on:
push:
branches:
- 'master'
tags-ignore:
- '*'

jobs:
run_tests:

runs-on: macos-14

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Configure Project
working-directory: ${{github.workspace}}
run: ${{github.workspace}}/configure.py -- -DJAMBA_DOWNLOAD_VSTSDK=ON

- name: Run validate/archive (Release)
working-directory: ${{github.workspace}}/build
run: ./jamba.sh --release -b validate archive

- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: archive-macos
path: ${{github.workspace}}/build/*.zip
31 changes: 31 additions & 0 deletions .github/workflows/run-tests-windows-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run Tests (Windows)

on:
push:
branches:
- 'master'
tags-ignore:
- '*'

jobs:
run_tests:
runs-on: windows-2022

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Configure Project
working-directory: ${{github.workspace}}
run: python ${{github.workspace}}\configure.py -G "Visual Studio 17 2022" -- -DJAMBA_DOWNLOAD_VSTSDK=ON -A x64

- name: Run validate/archive (Release)
working-directory: ${{github.workspace}}/build
run: .\jamba.bat --release -b validate archive

- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: archive-windows
path: ${{github.workspace}}/build/*.zip

0 comments on commit f0dd47d

Please sign in to comment.