JFX support for the Apple M1 Silicon #120
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
name: build | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Start services | |
run: scripts/start_services.sh | |
- name: Run test suite | |
run: docker-compose -f docker/docker-compose.yaml exec -T app bash scripts/build.sh | |
- name: Upload coverage report | |
uses: codecov/codecov-action@v2 | |
package: | |
runs-on: ubuntu-20.04 | |
needs: build | |
if: contains(github.ref, 'refs/tags/v') | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Start services | |
run: scripts/start_services.sh | |
- name: Package | |
run: docker-compose -f docker/docker-compose.yaml exec -T app bash scripts/package.sh | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: target/tp2-*.jar | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |