|
1 |
| -name: Meson Build |
2 |
| - |
3 |
| - |
4 |
| -run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 |
| 1 | +name: meson build and test |
| 2 | +run-name: update pushed to ${{ github.ref }} |
5 | 3 | on: [push]
|
6 | 4 |
|
7 | 5 | jobs:
|
8 |
| - Explore-GitHub-Actions: |
9 |
| - runs-on: ubuntu-latest |
| 6 | + publish: |
| 7 | + runs-on: ${{ matrix.os }} |
| 8 | + |
| 9 | + strategy: |
| 10 | + fail-fast: false |
| 11 | + matrix: |
| 12 | + os: [ubuntu-latest, windows-latest, macos-latest] |
| 13 | + |
10 | 14 | steps:
|
11 |
| - - run: echo " The job was automatically triggered by a ${{ github.event_name }} event." |
12 |
| - - uses: actions/checkout@v4 |
13 |
| - - uses: actions/setup-python@v1 |
14 |
| - |
| 15 | + - name: checkout repository |
| 16 | + uses: actions/checkout@v4 |
| 17 | + |
| 18 | + - name: setup python |
| 19 | + uses: actions/setup-python@v5 |
| 20 | + |
| 21 | + - name: meson build |
| 22 | + |
15 | 23 | with:
|
| 24 | + meson-version: 1.5.1 |
| 25 | + ninja-version: 1.11.1.1 |
16 | 26 | action: build
|
| 27 | + |
| 28 | + - name: meson test |
| 29 | + |
| 30 | + with: |
| 31 | + meson-version: 1.5.1 |
| 32 | + ninja-version: 1.11.1.1 |
17 | 33 | action: test
|
18 |
| - action: tidy |
19 |
| - |
20 |
| - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" |
21 |
| - - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." |
22 |
| - - name: Check out repository code |
23 |
| - uses: actions/checkout@v4 |
24 |
| - - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." |
25 |
| - - run: echo "🖥️ The workflow is now ready to test your code on the runner." |
26 |
| - - name: List files in the repository |
27 |
| - run: | |
28 |
| - ls ${{ github.workspace }} |
29 |
| - - run: echo "🍏 This job's status is ${{ job.status }}." |
|
0 commit comments