Merge pull request #75 from SLM-Audio/syl/user-app-data #162
This file contains hidden or 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
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [ opened, edited, reopened, synchronize ] | |
| jobs: | |
| tests-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/[email protected] | |
| with: | |
| submodules: true | |
| - name: Configure and Build | |
| uses: threeal/cmake-action@main | |
| with: | |
| options: "MOSTLY_HARMLESS_TESTS=ON CMAKE_BUILD_TYPE=Release" | |
| build-args: "--target mostly-harmless-tests --config Release" | |
| - name: Run tests | |
| run: "./build/release/mostly-harmless-tests.exe" | |
| tests-macos: | |
| runs-on: self-hosted | |
| steps: | |
| - uses: actions/[email protected] | |
| with: | |
| submodules: true | |
| - name: Clean Existing | |
| run: "rm -rf ./build" | |
| - name: Configure and Build | |
| uses: threeal/cmake-action@main | |
| with: | |
| options: "MOSTLY_HARMLESS_TESTS=ON CMAKE_BUILD_TYPE=Release" | |
| build-args: "--target mostly-harmless-tests --config Release -- -j 24" | |
| - name: Run tests | |
| run: "./build/mostly-harmless-tests" | |