mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-07 08:53:25 +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
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [18.x]
|
node-version: [18.x]
|
||||||
platform: [windows-latest, ubuntu-latest, macos-latest]
|
#, macos-latest
|
||||||
|
platform: [windows-latest, ubuntu-latest]
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
rust_target: x86_64-unknown-linux-gnu
|
rust_target: x86_64-unknown-linux-gnu
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
rust_target: x86_64-pc-windows-msvc
|
rust_target: x86_64-pc-windows-msvc
|
||||||
- os: macos-latest
|
#- os: macos-latest
|
||||||
rust_target: x86_64-apple-darwin
|
# rust_target: x86_64-apple-darwin
|
||||||
- os: macos-latest
|
#- os: macos-latest
|
||||||
rust_target: aarch64-apple-darwin
|
# rust_target: aarch64-apple-darwin
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|
@ -86,11 +87,11 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
|
||||||
ENABLE_CODE_SIGNING: ${{ env.APPLE_CERTIFICATE }}
|
ENABLE_CODE_SIGNING: ${{ env.APPLE_CERTIFICATE }}
|
||||||
APPLE_CERTIFICATE: ${{ env.APPLE_CERTIFICATE }}
|
#APPLE_CERTIFICATE: ${{ env.APPLE_CERTIFICATE }}
|
||||||
APPLE_CERTIFICATE_PASSWORD: ${{ env.APPLE_CERTIFICATE_PASSWORD }}
|
#APPLE_CERTIFICATE_PASSWORD: ${{ env.APPLE_CERTIFICATE_PASSWORD }}
|
||||||
APPLE_SIGNING_IDENTITY: ${{ env.APPLE_SIGNING_IDENTITY }}
|
#APPLE_SIGNING_IDENTITY: ${{ env.APPLE_SIGNING_IDENTITY }}
|
||||||
APPLE_ID: ${{ env.APPLE_ID }}
|
#APPLE_ID: ${{ env.APPLE_ID }}
|
||||||
APPLE_PASSWORD: ${{ env.APPLE_PASSWORD }}
|
#APPLE_PASSWORD: ${{ env.APPLE_PASSWORD }}
|
||||||
with:
|
with:
|
||||||
target: ${{ matrix.platform.rust_target }}
|
target: ${{ matrix.platform.rust_target }}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,7 @@ module.exports = function(grunt) {
|
||||||
|
|
||||||
grunt.registerTask('mark-revision', function() {
|
grunt.registerTask('mark-revision', function() {
|
||||||
const done = this.async();
|
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);
|
done(err);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue