From 9bd77a486ecbd7a423a91e1d038ae3d89ac38446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Belin?= Date: Fri, 27 Sep 2024 00:54:29 +0200 Subject: [PATCH] Try to debug the CI --- .github/workflows/ci.yaml | 57 +++++++++++++++++++------------------ src/setup_hashlink/Setup.hx | 1 + 2 files changed, 30 insertions(+), 28 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b3b5285..a7b0f0e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 diff --git a/src/setup_hashlink/Setup.hx b/src/setup_hashlink/Setup.hx index 9054d3a..fe78957 100644 --- a/src/setup_hashlink/Setup.hx +++ b/src/setup_hashlink/Setup.hx @@ -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' ];