Refactor GitHub Actions workflows, update README #7
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
| # Compile and test on every push/PR. Does NOT produce release packages. | |
| # Installers for Windows, macOS, Linux, and Raspberry Pi: see publish.yml | |
| name: CI | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| jobs: | |
| build-and-test: | |
| name: Build and test (Linux) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: "10.0.x" | |
| - run: dotnet build OscarWatch.slnx -c Release | |
| - run: dotnet test OscarWatch.slnx -c Release --no-build |