mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-07 00:45:08 +01:00
fix: windows failing to build
This commit is contained in:
parent
f0b426c14f
commit
def0782b76
2 changed files with 12 additions and 11 deletions
21
.github/workflows/ci.yaml
vendored
21
.github/workflows/ci.yaml
vendored
|
|
@ -33,16 +33,17 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
node-version: [18.x]
|
||||
platform: [windows-latest, ubuntu-latest, macos-latest]
|
||||
#, macos-latest
|
||||
platform: [windows-latest, ubuntu-latest]
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
rust_target: x86_64-unknown-linux-gnu
|
||||
- os: windows-latest
|
||||
rust_target: x86_64-pc-windows-msvc
|
||||
- os: macos-latest
|
||||
rust_target: x86_64-apple-darwin
|
||||
- os: macos-latest
|
||||
rust_target: aarch64-apple-darwin
|
||||
#- os: macos-latest
|
||||
# rust_target: x86_64-apple-darwin
|
||||
#- os: macos-latest
|
||||
# rust_target: aarch64-apple-darwin
|
||||
runs-on: ${{ matrix.platform }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
|
@ -86,11 +87,11 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
|
||||
ENABLE_CODE_SIGNING: ${{ env.APPLE_CERTIFICATE }}
|
||||
APPLE_CERTIFICATE: ${{ env.APPLE_CERTIFICATE }}
|
||||
APPLE_CERTIFICATE_PASSWORD: ${{ env.APPLE_CERTIFICATE_PASSWORD }}
|
||||
APPLE_SIGNING_IDENTITY: ${{ env.APPLE_SIGNING_IDENTITY }}
|
||||
APPLE_ID: ${{ env.APPLE_ID }}
|
||||
APPLE_PASSWORD: ${{ env.APPLE_PASSWORD }}
|
||||
#APPLE_CERTIFICATE: ${{ env.APPLE_CERTIFICATE }}
|
||||
#APPLE_CERTIFICATE_PASSWORD: ${{ env.APPLE_CERTIFICATE_PASSWORD }}
|
||||
#APPLE_SIGNING_IDENTITY: ${{ env.APPLE_SIGNING_IDENTITY }}
|
||||
#APPLE_ID: ${{ env.APPLE_ID }}
|
||||
#APPLE_PASSWORD: ${{ env.APPLE_PASSWORD }}
|
||||
with:
|
||||
target: ${{ matrix.platform.rust_target }}
|
||||
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ module.exports = function(grunt) {
|
|||
|
||||
grunt.registerTask('mark-revision', function() {
|
||||
const done = this.async();
|
||||
exec('mkdir -p dist && git rev-parse HEAD > dist/.rev', function (err, stdout, stderr) {
|
||||
exec('git rev-parse HEAD > dist/.rev', function (err, stdout, stderr) {
|
||||
done(err);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue