Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Patitotective committed Jan 10, 2024
1 parent d61b9dd commit 8245e8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
run: sudo apt install libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libgl-dev

- name: Build
run: nimble buildapp
run: |
nimble install -d -y
nimble buildapp

- name: Upload Artifacts
uses: actions/upload-artifact@v3
Expand All @@ -31,7 +33,9 @@ jobs:
- uses: iffy/install-nim@v4.1.1

- name: Build
run: nimble buildr
run: |
nimble install -d -y
nimble buildr
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 0 additions & 2 deletions ImExample.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ let flags = getEnv("FLAGS")
let args = &"--app:gui --out:{outPath} --cpu:{arch} {flags}"

task buildr, "Build the application for release":
exec "nimble install -d -y" # We do this so you can run this task without having any dependencies installed and still work
exec &"nimble c -d:release {args} main.nim"

const desktopTemplate = """
Expand All @@ -53,7 +52,6 @@ task buildapp, "Build the AppImage":

# Compile applicaiton executable
if not dirExists("AppDir"): mkDir("AppDir")
exec "nimble install -d -y" # We do this so you can run this task without having any dependencies installed and still work
exec &"nimble c -d:release -d:appimage {args} --out:AppDir/AppRun main.nim"

# Make desktop file
Expand Down

0 comments on commit 8245e8f

Please sign in to comment.