Skip to content

Commit

Permalink
Try to debug the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Sep 26, 2024
1 parent 2e4e104 commit 9bd77a4
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 28 deletions.
57 changes: 29 additions & 28 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,39 @@ name: continuous-integration
on: push

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Fetch sources
uses: actions/checkout@v4
- name: Set up Lix
uses: lix-pm/setup-lix@master
- name: Set up Node.js
uses: actions/setup-node@v4
with:
cache: npm
node-version: 22
- name: Cache dependencies
uses: actions/cache@v4
with:
path: |
~/haxe
~/AppData/Roaming/haxe
key: haxe-${{runner.os}}-lix-${{hashFiles('.haxerc', 'haxe_libraries/*.hxml')}}
restore-keys: haxe-${{runner.os}}-lix-
- name: Install dependencies
run: |
lix download
npm ci
- name: Run tests
run: haxe test.hxml
# test:
# runs-on: ubuntu-latest
# steps:
# - name: Fetch sources
# uses: actions/checkout@v4
# - name: Set up Lix
# uses: lix-pm/setup-lix@master
# - name: Set up Node.js
# uses: actions/setup-node@v4
# with:
# cache: npm
# node-version: 22
# - name: Cache dependencies
# uses: actions/cache@v4
# with:
# path: |
# ~/haxe
# ~/AppData/Roaming/haxe
# key: haxe-${{runner.os}}-lix-${{hashFiles('.haxerc', 'haxe_libraries/*.hxml')}}
# restore-keys: haxe-${{runner.os}}-lix-
# - name: Install dependencies
# run: |
# lix download
# npm ci
# - name: Run tests
# run: haxe test.hxml
run:
needs: test
# needs: test
runs-on: ${{matrix.platform}}
strategy:
matrix:
platform: [macos-latest, ubuntu-latest, windows-latest]
# platform: [macos-latest, ubuntu-latest, windows-latest]
platform: [macos-latest]
steps:
- uses: cedx/setup-hashlink@main
- run: hl --version
1 change: 1 addition & 0 deletions src/setup_hashlink/Setup.hx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ class Setup {
"make",
"sudo make codesign_osx",
"sudo make install",
'sudo otool -L $prefix/bin/hl',
'sudo install_name_tool -add_rpath $prefix/lib/libhl.dylib $prefix/bin/hl',
'sudo install_name_tool -delete_rpath libhl.dylib $prefix/bin/hl'
];
Expand Down

0 comments on commit 9bd77a4

Please sign in to comment.