Skip to content

Commit 9edb55f

Browse files
committed
WIP
1 parent b864089 commit 9edb55f

File tree

2 files changed

+3
-46
lines changed

2 files changed

+3
-46
lines changed

.github/workflows/e2e-dummy-gem.yml

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
name: "Cross compile the gem on different ruby versions"
77
strategy:
88
matrix:
9-
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
9+
os: ["macos-latest"]
1010
runs-on: "${{ matrix.os }}"
1111
steps:
1212
- name: "Checkout code"
@@ -23,48 +23,3 @@ jobs:
2323
step: "compile"
2424
token: ${{ secrets.GITHUB_TOKEN }}
2525
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"

lib/easy_compile/compilation_tasks.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ def shared_enabled?
101101

102102
def disable_shared
103103
makefile_tasks = Rake::Task.tasks.select { |task| task.name =~ /Makefile/ }
104+
p "RENTRE"
105+
p makefile_tasks
104106

105107
makefile_tasks.each do |task|
106108
task.enhance do

0 commit comments

Comments
 (0)