louis-jikkenio is testing out GitHub Actions π #237
Workflow file for this run
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: Github Actions Test | |
run-name: ${{ github.actor }} is testing out GitHub Actions π | |
on: | |
pull_request: | |
branches: [ "main", "develop" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-linux: | |
name: linux build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose | |
# - name: upload binary | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# name: Go-results-${{ matrix.go-version }} | |
# path: TestResults-${{ matrix.go-version }}.json | |
build-windows: | |
name: windows build | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose | |
build-macosx: | |
name: macosx build | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose |