Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
tobil4sk committed Dec 9, 2024
1 parent 4f6b9b3 commit 7733e4c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ jobs:
shell: pwsh
run: |
Set-PSDebug -Trace 1
$PSNativeCommandUseErrorActionPreference = $true
$ErrorActionPreference = 'Stop'
opam exec -- make -s -f Makefile.win -j"$env:NUMBER_OF_PROCESSORS" haxe
opam exec -- make -s -f Makefile.win haxelib
opam exec -- make -f Makefile.win echo_package_files package_bin package_installer_win package_choco
Expand All @@ -104,11 +106,11 @@ jobs:
ls ./out
- name: Check artifact
shell: bash
shell: pwsh
run: |
ls out
# Output should contain binaries zip, installer zip and nupkg
[ $(ls -1 out | wc -l) -eq "3" ]
( Get-ChildItem . | Measure-Object ).Count -eq 3
- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down
6 changes: 4 additions & 2 deletions extra/github-actions/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
shell: pwsh
run: |
Set-PSDebug -Trace 1
$PSNativeCommandUseErrorActionPreference = $true
$ErrorActionPreference = 'Stop'
opam exec -- make -s -f Makefile.win -j"$env:NUMBER_OF_PROCESSORS" haxe
opam exec -- make -s -f Makefile.win haxelib
opam exec -- make -f Makefile.win echo_package_files package_bin package_installer_win package_choco
Expand All @@ -26,11 +28,11 @@
ls ./out
- name: Check artifact
shell: bash
shell: pwsh
run: |
ls out
# Output should contain binaries zip, installer zip and nupkg
[ $(ls -1 out | wc -l) -eq "3" ]
( Get-ChildItem . | Measure-Object ).Count -eq 3
- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion haxe.opam
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ depends: [
pin-depends: [
["camlp5.dev" "git+https://github.com/tobil4sk/camlp5#fix/cygwin-ocaml-check"]
["camlp5-buildscripts.dev" "git+https://github.com/tobil4sk/camlp5-buildscripts#feature/windows-support"]
]
] {os = "win32"}

0 comments on commit 7733e4c

Please sign in to comment.