Skip to content

Commit

Permalink
fix release: windows cmake error
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-chia committed Jun 8, 2024
1 parent db49de1 commit 25611ef
Showing 1 changed file with 60 additions and 60 deletions.
120 changes: 60 additions & 60 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,26 +78,26 @@ jobs:
# The target is used by Cargo
# The arch is either 386, arm64 or amd64
# The svm target platform to use for the binary https://github.com/roynalnaruto/svm-rs/blob/84cbe0ac705becabdc13168bae28a45ad2299749/svm-builds/build.rs#L4-L24
# - os: ubuntu-22.04
# platform: linux
# target: x86_64-unknown-linux-gnu
# arch: amd64
# svm_target_platform: linux-amd64
# - os: self-hosted-arm64
# platform: linux
# target: aarch64-unknown-linux-gnu
# arch: arm64
# svm_target_platform: linux-aarch64
# - os: macos-latest
# platform: darwin
# target: x86_64-apple-darwin
# arch: amd64
# svm_target_platform: macosx-amd64
# - os: macos-latest
# platform: darwin
# target: aarch64-apple-darwin
# arch: arm64
# svm_target_platform: macosx-aarch64
- os: ubuntu-22.04
platform: linux
target: x86_64-unknown-linux-gnu
arch: amd64
svm_target_platform: linux-amd64
- os: self-hosted-arm64
platform: linux
target: aarch64-unknown-linux-gnu
arch: arm64
svm_target_platform: linux-aarch64
- os: macos-latest
platform: darwin
target: x86_64-apple-darwin
arch: amd64
svm_target_platform: macosx-amd64
- os: macos-latest
platform: darwin
target: aarch64-apple-darwin
arch: arm64
svm_target_platform: macosx-aarch64
- os: windows-latest
platform: win32
target: x86_64-pc-windows-msvc
Expand Down Expand Up @@ -205,43 +205,43 @@ jobs:
files: |
${{ steps.artifacts.outputs.file_name }}
# cleanup:
# name: Release cleanup
# runs-on: ubuntu-22.04
# timeout-minutes: 30
# needs: release
# steps:
# - uses: actions/checkout@v4

# # Moves the `nightly` tag to `HEAD`
# - name: Move nightly tag
# if: ${{ env.IS_NIGHTLY }}
# uses: actions/github-script@v7
# with:
# script: |
# const moveTag = require('./.github/scripts/move-tag.js')
# await moveTag({ github, context }, 'nightly')

# - name: Delete old nightlies
# uses: actions/github-script@v7
# with:
# script: |
# const prunePrereleases = require('./.github/scripts/prune-prereleases.js')
# await prunePrereleases({github, context})

# # If any of the jobs fail, this will create a high-priority issue to signal so.
# issue:
# name: Open an issue
# runs-on: ubuntu-latest
# needs: [prepare, release, cleanup]
# if: ${{ failure() }}
# steps:
# - uses: actions/checkout@v4
# - uses: JasonEtco/create-an-issue@v2
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# WORKFLOW_URL: |
# ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
# with:
# update_existing: true
# filename: .github/RELEASE_FAILURE_ISSUE_TEMPLATE.md
cleanup:
name: Release cleanup
runs-on: ubuntu-22.04
timeout-minutes: 30
needs: release
steps:
- uses: actions/checkout@v4

# Moves the `nightly` tag to `HEAD`
- name: Move nightly tag
if: ${{ env.IS_NIGHTLY }}
uses: actions/github-script@v7
with:
script: |
const moveTag = require('./.github/scripts/move-tag.js')
await moveTag({ github, context }, 'nightly')
- name: Delete old nightlies
uses: actions/github-script@v7
with:
script: |
const prunePrereleases = require('./.github/scripts/prune-prereleases.js')
await prunePrereleases({github, context})
# If any of the jobs fail, this will create a high-priority issue to signal so.
issue:
name: Open an issue
runs-on: ubuntu-latest
needs: [prepare, release, cleanup]
if: ${{ failure() }}
steps:
- uses: actions/checkout@v4
- uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WORKFLOW_URL: |
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
with:
update_existing: true
filename: .github/RELEASE_FAILURE_ISSUE_TEMPLATE.md

0 comments on commit 25611ef

Please sign in to comment.