This file contains hidden or 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: "Run a end to end test on the dummy gem" | |
| on: push | |
| jobs: | |
| get_versions: | |
| timeout-minutes: 10 | |
| name: "Get the ruby versions needed to compile" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout code" | |
| uses: "actions/checkout@v5" | |
| - name: "Setup Ruby" | |
| uses: "ruby/setup-ruby@v1" | |
| with: | |
| ruby-version: "3.4.7" | |
| - name: "Run easy compile" | |
| id: get_versions | |
| uses: "shopify-playground/edouard-playground/.github/actions/easy_compile@ec-outputs" | |
| with: | |
| step: "get_versions" | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| working-directory: "test/fixtures/dummy_gem" | |
| - name: "Echo" | |
| run: echo '${{ toJSON(steps.get_versions.outputs) }}' | |
| compile: | |
| needs: get_versions | |
| timeout-minutes: 20 | |
| name: "Cross compile the gem on different ruby versions" | |
| strategy: | |
| matrix: | |
| os: ["ubuntu-latest"] | |
| runs-on: "${{ matrix.os }}" | |
| steps: | |
| - name: "Echo" | |
| run: echo '${{ toJSON(needs.get_versions.outputs) }}' |