Skip to content

Commit

Permalink
fix ci configs, and load xmake before running
Browse files Browse the repository at this point in the history
  • Loading branch information
Ze7111 committed Jun 27, 2024
1 parent 0076afb commit 0b9ae2b
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/ci/aarch64-linux-debug.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh

# Load xmake environment
source ~/.xmake/profile

# setup xmake for release or debug mode
xmake f -m debug

Expand Down
3 changes: 3 additions & 0 deletions .github/ci/aarch64-linux-release.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh

# Load xmake environment
source ~/.xmake/profile

# setup xmake for release or debug mode
xmake f -m release

Expand Down
3 changes: 3 additions & 0 deletions .github/ci/aarch64-macos-debug.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh

# Load xmake environment
source ~/.xmake/profile

# setup xmake for release or debug mode
xmake f -m debug

Expand Down
3 changes: 3 additions & 0 deletions .github/ci/aarch64-macos-release.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh

# Load xmake environment
source ~/.xmake/profile

# setup xmake for release or debug mode
xmake f -m release

Expand Down
5 changes: 4 additions & 1 deletion .github/ci/aarch64-windows.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Load xmake environment
. $env:USERPROFILE\.xmake\profile.ps1

# setup xmake for release or debug mode
xmake f -m {'debug' if "debug" in filename else 'release'}
xmake f -m release

# build and run helix-tests
xmake build tests
Expand Down
Empty file removed .github/ci/arm64-macos.sh
Empty file.
3 changes: 3 additions & 0 deletions .github/ci/x86_64-linux-debug.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh

# Load xmake environment
source ~/.xmake/profile

# setup xmake for release or debug mode
xmake f -m debug

Expand Down
3 changes: 3 additions & 0 deletions .github/ci/x86_64-linux-release.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh

# Load xmake environment
source ~/.xmake/profile

# setup xmake for release or debug mode
xmake f -m release

Expand Down
3 changes: 3 additions & 0 deletions .github/ci/x86_64-macos-release.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh

# Load xmake environment
source ~/.xmake/profile

# setup xmake for release or debug mode
xmake f -m release

Expand Down
5 changes: 4 additions & 1 deletion .github/ci/x86_64-windows-debug.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Load xmake environment
. $env:USERPROFILE\.xmake\profile.ps1

# setup xmake for release or debug mode
xmake f -m {'debug' if "debug" in filename else 'release'}
xmake f -m debug

# build and run helix-tests
xmake build tests
Expand Down
5 changes: 4 additions & 1 deletion .github/ci/x86_64-windows-release.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Load xmake environment
. $env:USERPROFILE\.xmake\profile.ps1

# setup xmake for release or debug mode
xmake f -m {'debug' if "debug" in filename else 'release'}
xmake f -m release

# build and run helix-tests
xmake build tests
Expand Down

0 comments on commit 0b9ae2b

Please sign in to comment.