Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,18 @@ jobs:

- name: Install Project Dependencies via Xlings
run: |
#xlings install
cd ..
xlings install xmake@3.0.7 gcc@15 openssl@3.1.5 -y
xlings install


- name: Build with xmake
run: |
xmake f -m release -vv -y
xmake -j$(nproc)

- name: Verify d2x --version
run: ./build/linux/x86_64/release/d2x --version
- name: Verify d2x
run: |
./build/linux/x86_64/release/d2x --version
./build/linux/x86_64/release/d2x new hello

build-macos:
runs-on: macos-15
Expand All @@ -71,8 +71,7 @@ jobs:

- name: Install Project Dependencies via Xlings
run: |
cd ..
xlings install xmake@3.0.7 llvm@20 -y
xlings install
clang --version


Expand All @@ -81,8 +80,10 @@ jobs:
xmake f -m release --toolchain=llvm -vv -y
xmake -j$(nproc)

- name: Verify d2x --version
run: ./build/macosx/arm64/release/d2x --version
- name: Verify d2x
run: |
./build/macosx/arm64/release/d2x --version
./build/macosx/arm64/release/d2x new hello

build-windows:
runs-on: windows-latest
Expand All @@ -100,5 +101,7 @@ jobs:
xmake f -m release -y
xmake -j$env:NUMBER_OF_PROCESSORS

- name: Verify d2x --version
run: build\windows\x64\release\d2x.exe --version
- name: Verify d2x
run: |
build\windows\x64\release\d2x.exe --version
build\windows\x64\release\d2x.exe new hello
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ jobs:

- name: Install Project Dependencies via Xlings
run: |
cd ..
xlings install xmake@3.0.7 gcc@15 openssl@3.1.5 -y
xlings install

- name: Build with xmake
run: |
Expand Down Expand Up @@ -80,8 +79,7 @@ jobs:

- name: Install Project Dependencies via Xlings
run: |
cd ..
xlings install xmake@3.0.7 llvm@20 -y
xlings install
clang --version

- name: Build with xmake
Expand Down
2 changes: 1 addition & 1 deletion .xlings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"xmake": "3.0.7",
"gcc": { "linux": "15.1.0" },
"openssl": { "linux": "3.1.5" },
"llvm": { "macos": "20" }
"llvm": { "macosx": "20" }
}
}