Skip to content

Commit

Permalink
next
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipDeegan committed Jun 26, 2024
1 parent 3862b6f commit 4d7d481
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 2,790 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Build/Test" # contains slash so use quotes otherwise UB
- name: "Build/Test"
run: |
python3 -V
curl -Lo mkn https://github.com/mkn/mkn/releases/download/latest/mkn_nix
chmod +x mkn
KLOG=3 ./mkn clean build -p mod -dtOa "-std=c++17 -fPIC"
KLOG=3 ./mkn clean build -p test -dtOa "-std=c++17 -fPIC"
python3 py.py
8 changes: 4 additions & 4 deletions .github/workflows/build_osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Build/Test" # contains slash so use quotes otherwise UB
- name: "Build/Test"
run: |
python3 -V
curl -Lo mkn https://github.com/mkn/mkn/releases/download/latest/mkn_osx
curl -Lo mkn https://github.com/mkn/mkn/releases/download/latest/mkn_arm_osx
chmod +x mkn
KLOG=3 ./mkn clean build -p mod -dtOa "-std=c++17 -fPIC"
KLOG=3 ./mkn clean build -p test -dtOa "-std=c++17 -fPIC"
python3 py.py
6 changes: 3 additions & 3 deletions .github/workflows/build_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ilammy/msvc-dev-cmd@v1
with:
arch: amd64

- name: "Build/Test" # contains slash so use quotes otherwise UB
- name: "Build/Test"
shell: cmd
env:
MKN_CL_PREFERRED: 1
run: | # /bin/link interferes with cl/link.exe
bash -c "rm /bin/link"
bash -c "python3 -V"
bash -c "curl -Lo mkn.exe https://github.com/mkn/mkn/releases/download/latest/mkn.exe"
bash -c "KLOG=3 ./mkn clean build -p mod -dtOa "-std:c++17 -EHsc"
bash -c "KLOG=3 ./mkn clean build -p test -dtOa "-std:c++17 -EHsc"
bash -c "python3 py.py"
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
b
bin
share
.mkn
my_ext*
Loading

0 comments on commit 4d7d481

Please sign in to comment.