Skip to content

Commit

Permalink
WIP: ci: Sign Windows binary on master only
Browse files Browse the repository at this point in the history
  • Loading branch information
taratatach committed Sep 9, 2024
1 parent 4741cd5 commit 2509f5d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ install:
- cmd: appveyor-retry yarn install:electron
- ps: yarn build:css; yarn build:elm

test_script:
- ps: if ($env:BUILD_JOB -ne "build") { yarn bootstrap:remote }
- ps: if ($env:BUILD_JOB -eq "short_tests") { yarn test:elm }
- ps: if ($env:BUILD_JOB -eq "short_tests") { yarn test:world --timeout $env:MOCHA_TIMEOUT }
- ps: if ($env:BUILD_JOB -eq "short_tests") { yarn test:unit --timeout $env:MOCHA_TIMEOUT }
- ps: if ($env:BUILD_JOB -eq "short_tests") { yarn test:integration --timeout $env:MOCHA_TIMEOUT }
- ps: if ($env:BUILD_JOB -eq "scenarios") { yarn test:scenarios --timeout $env:MOCHA_TIMEOUT }
#test_script:
# - ps: if ($env:BUILD_JOB -ne "build") { yarn bootstrap:remote }
# - ps: if ($env:BUILD_JOB -eq "short_tests") { yarn test:elm }
# - ps: if ($env:BUILD_JOB -eq "short_tests") { yarn test:world --timeout $env:MOCHA_TIMEOUT }
# - ps: if ($env:BUILD_JOB -eq "short_tests") { yarn test:unit --timeout $env:MOCHA_TIMEOUT }
# - ps: if ($env:BUILD_JOB -eq "short_tests") { yarn test:integration --timeout $env:MOCHA_TIMEOUT }
# - ps: if ($env:BUILD_JOB -eq "scenarios") { yarn test:scenarios --timeout $env:MOCHA_TIMEOUT }

before_build:
- ps: if ($env:BUILD_JOB -eq "build") { pwsh -NoProfile -ExecutionPolicy Unrestricted -Command .\build\windows\setup-keylocker.ps1 }

build_script:
- ps: if ($env:BUILD_JOB -eq "build") { yarn dist }
- ps: if ($env:BUILD_JOB -eq "build") { yarn dist --config.forceCodeSigning=false --config.win.signAndEditExecutable=false }

artifacts:
- path: "dist\\latest.yml"
Expand Down

0 comments on commit 2509f5d

Please sign in to comment.