From 70d4b6d3499e5480e6d56cc98cb23e25932d171d Mon Sep 17 00:00:00 2001 From: 12core1 <12533753+visnkmr@users.noreply.github.com> Date: Sun, 27 Aug 2023 14:56:31 +0530 Subject: [PATCH 01/17] add auto workflow to publish release --- .github/workflow/release.yml | 117 +++++++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 .github/workflow/release.yml diff --git a/.github/workflow/release.yml b/.github/workflow/release.yml new file mode 100644 index 0000000..e8fad83 --- /dev/null +++ b/.github/workflow/release.yml @@ -0,0 +1,117 @@ +name: Release +on: + push: + # branches: + # - main + # - 'v*' + +jobs: + create-release: + permissions: + contents: write + runs-on: ubuntu-20.04 + outputs: + release_id: ${{ steps.create-release.outputs.result }} + + steps: + - uses: actions/checkout@v3 + - name: setup node + uses: actions/setup-node@v3 + with: + node-version: 16 + - name: get version + run: echo "PACKAGE_VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV + - name: create release + id: create-release + uses: actions/github-script@v6 + with: + script: | + const currentDate = new Date().toISOString(); + const { data } = await github.rest.repos.createRelease({ + owner: context.repo.owner, + repo: context.repo.repo, + tag_name: currentdate, + name: `WFMOSSFrontend for PC v${process.env.PACKAGE_VERSION}`, + body: 'Checkout commit for detailed changelog on what has changed.', + draft: true, + prerelease: false + }) + return data.id + + build-tauri: + needs: create-release + permissions: + contents: write + strategy: + fail-fast: false + matrix: + platform: [macos-latest, ubuntu-20.04, windows-latest] + + runs-on: ${{ matrix.platform }} + steps: + # Windows scripting isn't the same. + - name: Get Variables (Windows) + run: | + echo "$env:GITHUB_ENV" + echo ("TAG=" + $env:GITHUB_REF.replace('refs/heads/', '')) >> $env:GITHUB_ENV + echo "CLI_PATH=perlink.exe" >> $env:GITHUB_ENV + echo "OS=Windows" >> $env:GITHUB_ENV + if: matrix.os == 'windows-latest' + + - name: Get Variables (MacOS) + run: | + echo "TAG=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV + echo "CLI_PATH=perlink" >> $GITHUB_ENV + echo "OS=MacOS" >> $GITHUB_ENV + if: matrix.os == 'macos-latest' + + - name: Get Variables (Linux) + run: | + echo "TAG=$(echo $GITHUB_REF | sed 's/^refs\/heads\///')" >> $GITHUB_ENV + echo "CLI_PATH=perlink" >> $GITHUB_ENV + echo "OS=Linux-GNU" >> $GITHUB_ENV + if: matrix.os == 'ubuntu-latest' + - uses: actions/checkout@v3 + - name: install Rust stable + uses: dtolnay/rust-toolchain@stable + - name: install dependencies (ubuntu only) + if: matrix.platform == 'ubuntu-20.04' + run: | + sudo apt-get update + sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf + - name: install frontend dependencies + run: yarn install # change this to npm or pnpm depending on which one you use + - uses: tauri-apps/tauri-action@dev + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + # tagName: ${{ env.TAG }} # the action automatically replaces \_\_VERSION\_\_ with the app version + releaseName: 'App v__VERSION__' + # releaseBody: 'See the assets to download this version and install.' + # releaseDraft: true + # prerelease: false + releaseId: ${{ needs.create-release.outputs.release_id }} + + publish-release: + permissions: + contents: write + runs-on: ubuntu-20.04 + needs: [create-release, build-tauri] + + steps: + - name: publish release + id: publish-release + uses: actions/github-script@v6 + env: + release_id: ${{ needs.create-release.outputs.release_id }} + with: + script: | + github.rest.repos.updateRelease({ + owner: context.repo.owner, + repo: context.repo.repo, + release_id: process.env.release_id, + draft: false, + prerelease: false + }) + + From 19e0980ab97e3d467e9c7a0d29c9515de769b1fe Mon Sep 17 00:00:00 2001 From: 12core1 <12533753+visnkmr@users.noreply.github.com> Date: Sun, 27 Aug 2023 14:59:03 +0530 Subject: [PATCH 02/17] Update release.yml --- .github/workflow/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflow/release.yml b/.github/workflow/release.yml index e8fad83..2a990a5 100644 --- a/.github/workflow/release.yml +++ b/.github/workflow/release.yml @@ -1,7 +1,7 @@ name: Release on: push: - # branches: + branches: # - main # - 'v*' From 7d427f9b5f43ca1915729fff207d8351bfd7d871 Mon Sep 17 00:00:00 2001 From: 12core1 <12533753+visnkmr@users.noreply.github.com> Date: Sun, 27 Aug 2023 15:00:09 +0530 Subject: [PATCH 03/17] update path --- .github/{workflow => workflows}/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/{workflow => workflows}/release.yml (99%) diff --git a/.github/workflow/release.yml b/.github/workflows/release.yml similarity index 99% rename from .github/workflow/release.yml rename to .github/workflows/release.yml index 2a990a5..e8fad83 100644 --- a/.github/workflow/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,7 @@ name: Release on: push: - branches: + # branches: # - main # - 'v*' From ef7a1ab38caa528e7eb9b11c946ec98fa75f70e2 Mon Sep 17 00:00:00 2001 From: 12core1 <12533753+visnkmr@users.noreply.github.com> Date: Sun, 27 Aug 2023 15:02:17 +0530 Subject: [PATCH 04/17] Update release.yml --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e8fad83..104869e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,11 +26,11 @@ jobs: uses: actions/github-script@v6 with: script: | - const currentDate = new Date().toISOString(); + const currentDate = new Date().toISOString(); const { data } = await github.rest.repos.createRelease({ owner: context.repo.owner, repo: context.repo.repo, - tag_name: currentdate, + tag_name: currentDate, name: `WFMOSSFrontend for PC v${process.env.PACKAGE_VERSION}`, body: 'Checkout commit for detailed changelog on what has changed.', draft: true, From 6e9186003d24be1b8364bedff7024ef23cff5f33 Mon Sep 17 00:00:00 2001 From: 12core1 <12533753+visnkmr@users.noreply.github.com> Date: Sun, 27 Aug 2023 19:11:01 +0530 Subject: [PATCH 05/17] fix tagname --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 104869e..2489d32 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,11 +26,13 @@ jobs: uses: actions/github-script@v6 with: script: | - const currentDate = new Date().toISOString(); + let tagDate = isoDate.substring(0, 10); // "2023-08-27" + let tagTime = isoDate.substring(11, 19).replace(/:/g, ''); // "123456" + let githubTag = `${tagDate}-${tagTime}`; const { data } = await github.rest.repos.createRelease({ owner: context.repo.owner, repo: context.repo.repo, - tag_name: currentDate, + tag_name: githubTag, name: `WFMOSSFrontend for PC v${process.env.PACKAGE_VERSION}`, body: 'Checkout commit for detailed changelog on what has changed.', draft: true, From afaa1f182bb26b47cea59472522256c1a4471f8c Mon Sep 17 00:00:00 2001 From: 12core1 <12533753+visnkmr@users.noreply.github.com> Date: Sun, 27 Aug 2023 19:13:03 +0530 Subject: [PATCH 06/17] Update release.yml --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2489d32..f659ba8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,8 @@ jobs: uses: actions/github-script@v6 with: script: | + const currentDate = new Date(); + let isoDate = currentDate.toISOString(); // "2023-08-27T12:34:56.789Z" let tagDate = isoDate.substring(0, 10); // "2023-08-27" let tagTime = isoDate.substring(11, 19).replace(/:/g, ''); // "123456" let githubTag = `${tagDate}-${tagTime}`; From 1ec48b4e851110decd3edd43cf5c33d763c4a75a Mon Sep 17 00:00:00 2001 From: 12core1 <12533753+visnkmr@users.noreply.github.com> Date: Mon, 28 Aug 2023 00:43:41 +0530 Subject: [PATCH 07/17] target more version tryout --- .github/workflows/release.yml | 49 +++++++++++++++++------------------ 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f659ba8..43f5e03 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,37 +49,36 @@ jobs: strategy: fail-fast: false matrix: - platform: [macos-latest, ubuntu-20.04, windows-latest] + settings: + - host: macos-latest + target: x86_64-apple-darwin + os: darwin + arch: amd64 + - host: macos-latest + target: aarch64-apple-darwin + os: darwin + arch: arm64 + - host: windows-latest + target: x86_64-pc-windows-msvc + arch: amd64 + - host: ubuntu-latest + target: x86_64-unknown-linux-gnu + os: linux + arch: amd64 + - host: ubuntu-latest + target: aarch64-unknown-linux-gnu + os: linux + arch: arm64 - runs-on: ${{ matrix.platform }} + name: ${{ matrix.settings.target }} + runs-on: ${{ matrix.settings.host }} + steps: - # Windows scripting isn't the same. - - name: Get Variables (Windows) - run: | - echo "$env:GITHUB_ENV" - echo ("TAG=" + $env:GITHUB_REF.replace('refs/heads/', '')) >> $env:GITHUB_ENV - echo "CLI_PATH=perlink.exe" >> $env:GITHUB_ENV - echo "OS=Windows" >> $env:GITHUB_ENV - if: matrix.os == 'windows-latest' - - - name: Get Variables (MacOS) - run: | - echo "TAG=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV - echo "CLI_PATH=perlink" >> $GITHUB_ENV - echo "OS=MacOS" >> $GITHUB_ENV - if: matrix.os == 'macos-latest' - - - name: Get Variables (Linux) - run: | - echo "TAG=$(echo $GITHUB_REF | sed 's/^refs\/heads\///')" >> $GITHUB_ENV - echo "CLI_PATH=perlink" >> $GITHUB_ENV - echo "OS=Linux-GNU" >> $GITHUB_ENV - if: matrix.os == 'ubuntu-latest' - uses: actions/checkout@v3 - name: install Rust stable uses: dtolnay/rust-toolchain@stable - name: install dependencies (ubuntu only) - if: matrix.platform == 'ubuntu-20.04' + if: matrix.platform == 'ubuntu-latest' run: | sudo apt-get update sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf From 110afd77ff1e0a528ae51d925b23db482f48d820 Mon Sep 17 00:00:00 2001 From: 12core1 <12533753+visnkmr@users.noreply.github.com> Date: Mon, 28 Aug 2023 01:04:26 +0530 Subject: [PATCH 08/17] Update release.yml --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 43f5e03..e7b0c71 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,7 +78,7 @@ jobs: - name: install Rust stable uses: dtolnay/rust-toolchain@stable - name: install dependencies (ubuntu only) - if: matrix.platform == 'ubuntu-latest' + if: matrix.platform == 'ubuntu-20.04' run: | sudo apt-get update sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf @@ -88,7 +88,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - # tagName: ${{ env.TAG }} # the action automatically replaces \_\_VERSION\_\_ with the app version + args: "--target ${{ matrix.settings.target }}" + # tagName: ${{ env.TAG }} + # the action automatically replaces \_\_VERSION\_\_ with the app version releaseName: 'App v__VERSION__' # releaseBody: 'See the assets to download this version and install.' # releaseDraft: true From 9a3a2872a6e1fd503e06316171590d7bea419b4c Mon Sep 17 00:00:00 2001 From: 12core1 <12533753+visnkmr@users.noreply.github.com> Date: Mon, 28 Aug 2023 01:16:01 +0530 Subject: [PATCH 09/17] Update release.yml --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e7b0c71..6327b63 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,13 +78,13 @@ jobs: - name: install Rust stable uses: dtolnay/rust-toolchain@stable - name: install dependencies (ubuntu only) - if: matrix.platform == 'ubuntu-20.04' + if: contains(matrix.platform, 'ubuntu') run: | sudo apt-get update sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf - name: install frontend dependencies run: yarn install # change this to npm or pnpm depending on which one you use - - uses: tauri-apps/tauri-action@dev + - uses: tauri-apps/tauri-action@v0.4.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: From 56c5446257e193b4c9f0fc84686c148a00bf3de6 Mon Sep 17 00:00:00 2001 From: 12core1 <12533753+visnkmr@users.noreply.github.com> Date: Mon, 28 Aug 2023 01:24:49 +0530 Subject: [PATCH 10/17] Update release.yml --- .github/workflows/release.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6327b63..0b4f929 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,10 +75,18 @@ jobs: steps: - uses: actions/checkout@v3 - - name: install Rust stable + - name: Rust setup uses: dtolnay/rust-toolchain@stable + with: + targets: ${{ matrix.settings.target }} + + - name: Rust cache + uses: swatinem/rust-cache@v2 + with: + workspaces: "./desktop/src-tauri -> target" + - name: install dependencies (ubuntu only) - if: contains(matrix.platform, 'ubuntu') + if: contains(matrix.settings.host, 'ubuntu') run: | sudo apt-get update sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf @@ -88,7 +96,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - args: "--target ${{ matrix.settings.target }}" + # args: "--target ${{ matrix.settings.target }}" # tagName: ${{ env.TAG }} # the action automatically replaces \_\_VERSION\_\_ with the app version releaseName: 'App v__VERSION__' From 0cc505b4ca4b398d89bb08b5a6b716393f901805 Mon Sep 17 00:00:00 2001 From: 12core1 <12533753+visnkmr@users.noreply.github.com> Date: Mon, 28 Aug 2023 01:57:47 +0530 Subject: [PATCH 11/17] add tauri targets as well --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0b4f929..56f0dd8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -96,7 +96,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - # args: "--target ${{ matrix.settings.target }}" + args: "--target ${{ matrix.settings.target }}" # tagName: ${{ env.TAG }} # the action automatically replaces \_\_VERSION\_\_ with the app version releaseName: 'App v__VERSION__' From 38932b81747d06d6f49e6e09991ede31b23bcd8a Mon Sep 17 00:00:00 2001 From: 12core1 <12533753+visnkmr@users.noreply.github.com> Date: Mon, 28 Aug 2023 02:25:13 +0530 Subject: [PATCH 12/17] Update release.yml --- .github/workflows/release.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 56f0dd8..22e2727 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,21 +50,21 @@ jobs: fail-fast: false matrix: settings: - - host: macos-latest - target: x86_64-apple-darwin - os: darwin - arch: amd64 - - host: macos-latest - target: aarch64-apple-darwin - os: darwin - arch: arm64 - - host: windows-latest - target: x86_64-pc-windows-msvc - arch: amd64 - - host: ubuntu-latest - target: x86_64-unknown-linux-gnu - os: linux - arch: amd64 + # - host: macos-latest + # target: x86_64-apple-darwin + # os: darwin + # arch: amd64 + # - host: macos-latest + # target: aarch64-apple-darwin + # os: darwin + # arch: arm64 + # - host: windows-latest + # target: x86_64-pc-windows-msvc + # arch: amd64 + # - host: ubuntu-latest + # target: x86_64-unknown-linux-gnu + # os: linux + # arch: amd64 - host: ubuntu-latest target: aarch64-unknown-linux-gnu os: linux @@ -89,7 +89,7 @@ jobs: if: contains(matrix.settings.host, 'ubuntu') run: | sudo apt-get update - sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf + sudo apt-get install -y libappindicator-gtk3 gdk-pixbuf2 libbsd libXdmcp libwmf libdeflate gtk3-immodules - name: install frontend dependencies run: yarn install # change this to npm or pnpm depending on which one you use - uses: tauri-apps/tauri-action@v0.4.0 From d344a79f12a846a53ba95a5eb8586c07c196413d Mon Sep 17 00:00:00 2001 From: 12core1 <12533753+visnkmr@users.noreply.github.com> Date: Mon, 28 Aug 2023 02:29:15 +0530 Subject: [PATCH 13/17] Update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22e2727..62a2f47 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -89,7 +89,7 @@ jobs: if: contains(matrix.settings.host, 'ubuntu') run: | sudo apt-get update - sudo apt-get install -y libappindicator-gtk3 gdk-pixbuf2 libbsd libXdmcp libwmf libdeflate gtk3-immodules + sudo apt-get install -y libappindicator-gtk3 libgtk-3-dev libwebkit2gtk-4.0-dev librsvg2-dev patchelf - name: install frontend dependencies run: yarn install # change this to npm or pnpm depending on which one you use - uses: tauri-apps/tauri-action@v0.4.0 From 8c0deb096d589985ddcd09a6c4cd0d408dedde23 Mon Sep 17 00:00:00 2001 From: 12core1 <12533753+visnkmr@users.noreply.github.com> Date: Mon, 28 Aug 2023 02:41:55 +0530 Subject: [PATCH 14/17] Update release.yml --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 62a2f47..43b444e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,11 +85,14 @@ jobs: with: workspaces: "./desktop/src-tauri -> target" + - name: Remove homebrew + uses: autobrew/uninstall-homebrew@master + - name: install dependencies (ubuntu only) if: contains(matrix.settings.host, 'ubuntu') run: | sudo apt-get update - sudo apt-get install -y libappindicator-gtk3 libgtk-3-dev libwebkit2gtk-4.0-dev librsvg2-dev patchelf + sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf - name: install frontend dependencies run: yarn install # change this to npm or pnpm depending on which one you use - uses: tauri-apps/tauri-action@v0.4.0 From c576c843b26bcdab51f30856e4174a649245e005 Mon Sep 17 00:00:00 2001 From: 12core1 <12533753+visnkmr@users.noreply.github.com> Date: Mon, 28 Aug 2023 02:49:24 +0530 Subject: [PATCH 15/17] Update release.yml --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 43b444e..c4efbb8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,8 +85,9 @@ jobs: with: workspaces: "./desktop/src-tauri -> target" - - name: Remove homebrew - uses: autobrew/uninstall-homebrew@master + - name: Uninstall Homebrew + run: | + NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)" - name: install dependencies (ubuntu only) if: contains(matrix.settings.host, 'ubuntu') From 0741be24490fd3b458c4ceeacfbbd19873be0d7c Mon Sep 17 00:00:00 2001 From: 12core1 <12533753+visnkmr@users.noreply.github.com> Date: Mon, 28 Aug 2023 02:51:01 +0530 Subject: [PATCH 16/17] Update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c4efbb8..2dc65e0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,7 +85,7 @@ jobs: with: workspaces: "./desktop/src-tauri -> target" - - name: Uninstall Homebrew + - name: Uninstall Homebrew run: | NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)" From 6708f78331f267ca835baff8103cd6fb0fa5a8aa Mon Sep 17 00:00:00 2001 From: 12core1 <12533753+visnkmr@users.noreply.github.com> Date: Mon, 28 Aug 2023 14:24:24 +0530 Subject: [PATCH 17/17] add mac m1,m2, compaitable versions to auto release --- .github/workflows/release.yml | 38 +++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2dc65e0..d8b4e1d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,8 @@ name: Release on: push: - # branches: - # - main + branches: + - main # - 'v*' jobs: @@ -50,25 +50,25 @@ jobs: fail-fast: false matrix: settings: - # - host: macos-latest - # target: x86_64-apple-darwin - # os: darwin - # arch: amd64 - # - host: macos-latest - # target: aarch64-apple-darwin - # os: darwin - # arch: arm64 - # - host: windows-latest - # target: x86_64-pc-windows-msvc - # arch: amd64 - # - host: ubuntu-latest - # target: x86_64-unknown-linux-gnu - # os: linux - # arch: amd64 + - host: macos-latest + target: x86_64-apple-darwin + os: darwin + arch: amd64 + - host: macos-latest + target: aarch64-apple-darwin + os: darwin + arch: arm64 + - host: windows-latest + target: x86_64-pc-windows-msvc + arch: amd64 - host: ubuntu-latest - target: aarch64-unknown-linux-gnu + target: x86_64-unknown-linux-gnu os: linux - arch: arm64 + arch: amd64 + # - host: ubuntu-latest + # target: aarch64-unknown-linux-gnu + # os: linux + # arch: arm64 name: ${{ matrix.settings.target }} runs-on: ${{ matrix.settings.host }}