Merge pull request #23 from fortran-lang/ci/macos-builds #80
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: Test | |
on: [push] | |
jobs: | |
Test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-13, windows-latest] | |
fpm-version: ["v0.8.0", "v0.9.0", "latest"] | |
node-version: ["20.x"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: MacOS system setup | |
if: runner.os == 'macOS' | |
run: | | |
brew install gcc@10 | |
- name: Install dependencies | |
run: npm ci | |
- name: fpm-setup | |
uses: ./ # Uses action in the root directory | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
fpm-version: ${{ matrix.fpm-version }} | |
- name: test fpm | |
run: fpm --help |