From 4db2b2cd3fb2411b93f1173d32d1b0d598b1bdaa Mon Sep 17 00:00:00 2001 From: yakuhito Date: Thu, 4 Jul 2024 16:59:13 +0300 Subject: [PATCH] retry --- .github/workflows/CI.yml | 44 +++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2709fa2..e55ccf4 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -25,26 +25,32 @@ jobs: fail-fast: false matrix: settings: - - host: macos-latest - target: x86_64-apple-darwin - build: yarn build --target x86_64-apple-darwin - - host: windows-latest - build: yarn build --target x86_64-pc-windows-msvc - target: x86_64-pc-windows-msvc + # - host: macos-latest + # target: x86_64-apple-darwin + # build: yarn build --target x86_64-apple-darwin + # - host: windows-latest + # build: yarn build --target x86_64-pc-windows-msvc + # target: x86_64-pc-windows-msvc - host: ubuntu-latest target: x86_64-unknown-linux-gnu docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian - build: yarn build --target x86_64-unknown-linux-gnu - - host: macos-latest - target: aarch64-apple-darwin - build: yarn build --target aarch64-apple-darwin - - host: ubuntu-latest - target: aarch64-unknown-linux-gnu - docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64 - build: yarn build --target aarch64-unknown-linux-gnu - - host: windows-latest - target: aarch64-pc-windows-msvc - build: yarn build --target aarch64-pc-windows-msvc + build: | + sudo apt-get update && sudo apt-get install -y libssl-dev + yarn build --target x86_64-unknown-linux-gnu + # - host: macos-latest + # target: aarch64-apple-darwin + # build: yarn build --target aarch64-apple-darwin + # - host: ubuntu-latest + # target: aarch64-unknown-linux-gnu + # docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64 + # build: | + # sudo apt-get update && sudo apt-get install -y libssl-dev + # yarn build --target aarch64-unknown-linux-gnu + # - host: windows-latest + # target: aarch64-pc-windows-msvc + # build: | + # sudo apt-get update && sudo apt-get install -y libssl-dev + # yarn build --target aarch64-pc-windows-msvc name: stable - ${{ matrix.settings.target }} - node@20 runs-on: ${{ matrix.settings.host }} steps: @@ -92,10 +98,6 @@ jobs: node-version: 20 cache: yarn architecture: x86 - - name: Install OpenSSL development headers - run: sudo apt-get update && sudo apt-get install -y libssl-dev - if: ${{ matrix.settings.docker }} - shell: bash - name: Build in docker uses: addnab/docker-run-action@v3 if: ${{ matrix.settings.docker }}