Skip to content

Commit

Permalink
experimental builder
Browse files Browse the repository at this point in the history
  • Loading branch information
kassane committed Oct 9, 2024
1 parent cc90ad5 commit 51de5fa
Show file tree
Hide file tree
Showing 4 changed files with 616 additions and 220 deletions.
25 changes: 2 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ jobs:
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
- uses: korandoru/setup-zig@v1
with:
zig-version: master
- uses: dlang-community/setup-dlang@v2
with:
compiler: ldc-master
Expand All @@ -25,24 +22,6 @@ jobs:
sudo apt-get install libglu1-mesa-dev mesa-common-dev xorg-dev libasound-dev
- name: (Dub) Build Native
if: runner.os != 'Windows'
run: |
dub build :clear
dub build :sgl_context
dub build :sgl_points
dub build :debugtext
dub build :cube
dub build :blend
dub build :triangle
dub build :mrt
dub build :user_data
dub build :imgui
dub build :droptest
- name: (Zig) Running Test
if: runner.os != 'Windows'
run: zig build test -DzigCC
- name: (Zig) Build Native
run: zig build -Dimgui -DzigCC --summary all
- name: (Zig + emsdk) Build Wasm
run: zig build -Dimgui -DzigCC --summary all -Dtarget=wasm32-emscripten-none -Doptimize=ReleaseSmall
dub
dub -- --download-emsdk --download-zig
10 changes: 6 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,21 @@
# Executables
*.exe

*.zip
*.tar*

# DUB
.dub
docs.json
__dummy.html
docs/
*.selections.json
build/
build
bin/

# Code coverage
*.lst

# Zig build
*zig-*/

# VScode
.vscode/
.*/
Loading

0 comments on commit 51de5fa

Please sign in to comment.