Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Nimaoth/Absytree
Browse files Browse the repository at this point in the history
  • Loading branch information
Nimaoth committed Jul 19, 2024
2 parents 89df420 + 2bdded8 commit 0f5e519
Showing 1 changed file with 11 additions and 20 deletions.
31 changes: 11 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,10 @@ jobs:

# linux builds
- run: PATH=/github/home/.nimble/bin:$PATH nimble buildAbsytreeServer
- if: always()
run: PATH=/github/home/.nimble/bin:$PATH nimble buildLspWs
#- if: always()
# run: PATH=/github/home/.nimble/bin:$PATH nimble buildBrowser
- if: always()
run: PATH=/github/home/.nimble/bin:$PATH nimble buildDesktop --app:console -D:forceLogToFile -D:enableGui=false -D:enableTerminal=true --out:ast
- if: always()
run: PATH=/github/home/.nimble/bin:$PATH nimble buildDesktop --app:console -D:forceLogToFile -D:enableGui=false -D:enableTerminal=true -d:musl --out:ast-musl
- if: always()
run: PATH=/github/home/.nimble/bin:$PATH nimble buildDesktop --app:gui -D:forceLogToFile -D:enableGui=true -D:enableTerminal=false --out:ast-gui
- run: PATH=/github/home/.nimble/bin:$PATH nimble buildLspWs
- run: PATH=/github/home/.nimble/bin:$PATH nimble buildDesktop --app:console -D:forceLogToFile -D:enableGui=false -D:enableTerminal=true --out:ast
- run: PATH=/github/home/.nimble/bin:$PATH nimble buildDesktop --app:gui -D:forceLogToFile -D:enableGui=true -D:enableTerminal=false --out:ast-gui
- run: PATH=/github/home/.nimble/bin:$PATH nimble buildDesktop --app:console -D:forceLogToFile -D:enableGui=false -D:enableTerminal=true -d:musl -d:nimWasmtimeBuildMusl --out:ast-musl

# create release packages
- run: PATH=/github/home/.nimble/bin:$PATH nim ./tools/package_release.nims
Expand Down Expand Up @@ -176,14 +170,10 @@ jobs:
run: nimble setup

# windows builds
- if: always()
run: nimble buildDesktop --app:console -D:forceLogToFile -D:enableGui=false -D:enableTerminal=true --out:ast.exe
- if: always()
run: nimble buildDesktop --app:gui -D:forceLogToFile -D:enableGui=true -D:enableTerminal=false --out:astg.exe
- if: always()
run: nimble buildAbsytreeServerWindows
- if: always()
run: nimble buildLspWsWindows
- run: nimble buildDesktop --app:console -D:forceLogToFile -D:enableGui=false -D:enableTerminal=true --out:ast.exe
- run: nimble buildDesktop --app:gui -D:forceLogToFile -D:enableGui=true -D:enableTerminal=false --out:astg.exe
- run: nimble buildAbsytreeServerWindows
- run: nimble buildLspWsWindows

# create release packages
- run: nim ./tools/package_release.nims
Expand Down Expand Up @@ -244,14 +234,15 @@ jobs:
continue-on-error: true
run: PATH=/github/home/.nimble/bin:$PATH nimble setup

- run: "echo 'import nimwasmtime' > src/temp.nim && nim c src/temp.nim"

- name: Run tests
continue-on-error: true
run: testament --print category unit
- name: Build test report
if: always()
run: testament html

- uses: actions/[email protected]
if: always()
with:
name: testresults.html
path: testresults.html
Expand Down

0 comments on commit 0f5e519

Please sign in to comment.