Skip to content

Commit 2ff40ad

Browse files
committed
Another round of debugging 😢
1 parent 803e739 commit 2ff40ad

File tree

2 files changed

+65
-66
lines changed

2 files changed

+65
-66
lines changed

.github/actions/easy_compile/action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ runs:
4949
with:
5050
name: "stage-${{ runner.os }}-${{ runner.arch }}"
5151
path: |
52-
${{ inputs.working-directory }}/tmp/**/*.so
53-
${{ inputs.working-directory }}/tmp/**/*.bundle
52+
${{ inputs.working-directory }}/tmp/**/*
5453
${{ inputs.working-directory }}/pkg/*.gem
5554
if-no-files-found: error
5655
retention-days: 1

.github/workflows/gem-compile.yml

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: "Cross compile the gem on different ruby versions"
1515
strategy:
1616
matrix:
17-
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
17+
os: ["ubuntu-latest"]
1818
runs-on: "${{ matrix.os }}"
1919
steps:
2020
- name: "Install gperf"
@@ -32,70 +32,70 @@ jobs:
3232
bundler-cache: true
3333
working-directory: "test/fixtures/date"
3434
- name: "Run easy compile"
35-
uses: "shopify-playground/edouard-playground/.github/actions/easy_compile@main"
35+
uses: "shopify-playground/edouard-playground/.github/actions/easy_compile@ec-disable-librubyarg"
3636
with:
3737
step: "compile"
3838
token: ${{ secrets.GITHUB_TOKEN }} # TODO Remove this before publishing the gem
3939
working-directory: "test/fixtures/date"
40-
test:
41-
timeout-minutes: 30
42-
name: "Run the test suite"
43-
needs: compile
44-
strategy:
45-
matrix:
46-
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
47-
rubies: ["3.4.7", "3.1.7"]
48-
type: ["cross", "native"]
49-
runs-on: "${{ matrix.os }}"
50-
steps:
51-
- name: "Checkout code"
52-
uses: "actions/checkout@v5"
53-
- name: "Setup Ruby"
54-
uses: "ruby/setup-ruby@v1"
55-
with:
56-
ruby-version: "${{ matrix.rubies }}"
57-
bundler-cache: true
58-
working-directory: "test/fixtures/date"
59-
- name: "Run easy compile"
60-
uses: "shopify-playground/edouard-playground/.github/actions/easy_compile@main"
61-
with:
62-
step: "test_${{ matrix.type }}"
63-
token: ${{ secrets.GITHUB_TOKEN }} # TODO Remove this before publishing the gem
64-
working-directory: "test/fixtures/date"
65-
install:
66-
timeout-minutes: 5
67-
name: "Verify the gem can be installed"
68-
needs: test
69-
strategy:
70-
matrix:
71-
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
72-
runs-on: "${{ matrix.os }}"
73-
steps:
74-
- name: "Setup Ruby"
75-
uses: "ruby/setup-ruby@v1"
76-
with:
77-
ruby-version: "3.4.7"
78-
- name: "Run easy compile"
79-
uses: "shopify-playground/edouard-playground/.github/actions/easy_compile@main"
80-
with:
81-
token: ${{ secrets.GITHUB_TOKEN }} # TODO Remove this before publishing the gem
82-
step: "install"
83-
release:
84-
permissions:
85-
id-token: write
86-
contents: read
87-
timeout-minutes: 5
88-
if: ${{ inputs.release }}
89-
name: "Release all gems with RubyGems"
90-
needs: install
91-
runs-on: "ubuntu-latest"
92-
steps:
93-
- name: "Setup Ruby"
94-
uses: "ruby/setup-ruby@v1"
95-
with:
96-
ruby-version: "3.4.7"
97-
- name: "Run easy compile"
98-
uses: "shopify-playground/edouard-playground/.github/actions/easy_compile@main"
99-
with:
100-
step: "release"
101-
token: ${{ secrets.GITHUB_TOKEN }}
40+
# test:
41+
# timeout-minutes: 30
42+
# name: "Run the test suite"
43+
# needs: compile
44+
# strategy:
45+
# matrix:
46+
# os: ["macos-latest", "ubuntu-latest", "windows-latest"]
47+
# rubies: ["3.4.7", "3.1.7"]
48+
# type: ["cross", "native"]
49+
# runs-on: "${{ matrix.os }}"
50+
# steps:
51+
# - name: "Checkout code"
52+
# uses: "actions/checkout@v5"
53+
# - name: "Setup Ruby"
54+
# uses: "ruby/setup-ruby@v1"
55+
# with:
56+
# ruby-version: "${{ matrix.rubies }}"
57+
# bundler-cache: true
58+
# working-directory: "test/fixtures/date"
59+
# - name: "Run easy compile"
60+
# uses: "shopify-playground/edouard-playground/.github/actions/easy_compile@main"
61+
# with:
62+
# step: "test_${{ matrix.type }}"
63+
# token: ${{ secrets.GITHUB_TOKEN }} # TODO Remove this before publishing the gem
64+
# working-directory: "test/fixtures/date"
65+
# install:
66+
# timeout-minutes: 5
67+
# name: "Verify the gem can be installed"
68+
# needs: test
69+
# strategy:
70+
# matrix:
71+
# os: ["windows-latest"]
72+
# runs-on: "${{ matrix.os }}"
73+
# steps:
74+
# - name: "Setup Ruby"
75+
# uses: "ruby/setup-ruby@v1"
76+
# with:
77+
# ruby-version: "3.4.7"
78+
# - name: "Run easy compile"
79+
# uses: "shopify-playground/edouard-playground/.github/actions/easy_compile@ec-disable-librubyarg"
80+
# with:
81+
# token: ${{ secrets.GITHUB_TOKEN }} # TODO Remove this before publishing the gem
82+
# step: "install"
83+
# release:
84+
# permissions:
85+
# id-token: write
86+
# contents: read
87+
# timeout-minutes: 5
88+
# if: ${{ inputs.release }}
89+
# name: "Release all gems with RubyGems"
90+
# needs: install
91+
# runs-on: "ubuntu-latest"
92+
# steps:
93+
# - name: "Setup Ruby"
94+
# uses: "ruby/setup-ruby@v1"
95+
# with:
96+
# ruby-version: "3.4.7"
97+
# - name: "Run easy compile"
98+
# uses: "shopify-playground/edouard-playground/.github/actions/easy_compile@ec-disable-librubyarg"
99+
# with:
100+
# step: "release"
101+
# token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)