|
6 | 6 | name: "Cross compile the gem on different ruby versions" |
7 | 7 | strategy: |
8 | 8 | matrix: |
9 | | - os: ["macos-latest", "ubuntu-latest", "windows-latest"] |
| 9 | + os: ["macos-latest"] |
10 | 10 | runs-on: "${{ matrix.os }}" |
11 | 11 | steps: |
12 | 12 | - name: "Checkout code" |
|
23 | 23 | step: "compile" |
24 | 24 | token: ${{ secrets.GITHUB_TOKEN }} |
25 | 25 | working-directory: "test/fixtures/dummy_gem" |
26 | | - test: |
27 | | - timeout-minutes: 20 |
28 | | - name: "Run the test suite" |
29 | | - needs: compile |
30 | | - strategy: |
31 | | - matrix: |
32 | | - os: ["macos-latest", "ubuntu-latest", "windows-latest"] |
33 | | - rubies: ["3.4.7", "3.1.7"] |
34 | | - type: ["cross", "native"] |
35 | | - runs-on: "${{ matrix.os }}" |
36 | | - steps: |
37 | | - - name: "Checkout code" |
38 | | - uses: "actions/checkout@v5" |
39 | | - - name: "Setup Ruby" |
40 | | - uses: "ruby/setup-ruby@v1" |
41 | | - with: |
42 | | - ruby-version: "${{ matrix.rubies }}" |
43 | | - bundler-cache: true |
44 | | - working-directory: "test/fixtures/dummy_gem" |
45 | | - - name: "Run easy compile" |
46 | | - uses: "./.github/actions/easy_compile" |
47 | | - with: |
48 | | - step: "test_${{ matrix.type }}" |
49 | | - token: ${{ secrets.GITHUB_TOKEN }} # TODO Remove this before publishing the gem |
50 | | - working-directory: "test/fixtures/dummy_gem" |
51 | | - install: |
52 | | - timeout-minutes: 5 |
53 | | - name: "Verify the gem can be installed" |
54 | | - needs: test |
55 | | - strategy: |
56 | | - matrix: |
57 | | - os: ["macos-latest", "ubuntu-latest", "windows-latest"] |
58 | | - runs-on: "${{ matrix.os }}" |
59 | | - steps: |
60 | | - - name: "Checkout code" |
61 | | - uses: "actions/checkout@v5" |
62 | | - - name: "Setup Ruby" |
63 | | - uses: "ruby/setup-ruby@v1" |
64 | | - with: |
65 | | - ruby-version: "3.4.7" |
66 | | - - name: "Run easy compile" |
67 | | - uses: "./.github/actions/easy_compile" |
68 | | - with: |
69 | | - token: ${{ secrets.GITHUB_TOKEN }} # TODO Remove this before publishing the gem |
70 | | - step: "install" |
0 commit comments