-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,20 +47,11 @@ jobs: | |
|
||
- run: rustup target add x86_64-unknown-linux-musl | ||
|
||
- name: Setup cmake | ||
uses: jwlawson/actions-setup-cmake@v2 | ||
with: | ||
cmake-version: '3.29.3' | ||
|
||
# install choosenim and nim | ||
#- run: wget https://nim-lang.org/choosenim/init.sh -O init-choosenim.sh | ||
#- run: ls -la | ||
#- run: chmod +x init-choosenim.sh | ||
#- run: CHOOSENIM_CHOOSE_VERSION="stable" ./init-choosenim.sh -y | ||
|
||
- uses: iffy/install-nim@v5 | ||
with: | ||
version: binary:2.0.6 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: add Absytree as git safe.directory so nimble can install stuff | ||
run: git config --global --add safe.directory /__w/Absytree/Absytree | ||
|
@@ -94,31 +85,20 @@ jobs: | |
# create release packages | ||
- run: PATH=/github/home/.nimble/bin:$PATH nim ./tools/package_release.nims -l | ||
- run: ls -la release_linux | ||
#- run: ls -la release_web | ||
|
||
# make zips | ||
- name: Zip release_linux | ||
uses: vimtor/[email protected] | ||
with: | ||
files: release_linux | ||
dest: release_linux.zip | ||
#- name: Zip release_web | ||
# uses: vimtor/[email protected] | ||
# with: | ||
# files: release_web | ||
# dest: release_web.zip | ||
|
||
# upload artifacts | ||
- name: Upload release_linux | ||
uses: actions/[email protected] | ||
with: | ||
name: release_linux | ||
path: release_linux.zip | ||
#- name: Upload release_web | ||
# uses: actions/[email protected] | ||
# with: | ||
# name: release_web | ||
# path: release_web.zip | ||
|
||
build-absytree-windows: | ||
name: Build Absytree Windows | ||
|
@@ -127,29 +107,18 @@ jobs: | |
- name: Checkout the repo | ||
uses: actions/[email protected] | ||
|
||
# If I want a specific cmake version | ||
# - name: Setup cmake | ||
# uses: jwlawson/actions-setup-cmake@v2 | ||
# with: | ||
# cmake-version: '3.29.3' | ||
|
||
# If I want a specific rust version | ||
#- name: Install latest nightly | ||
# uses: actions-rs/[email protected] | ||
# with: | ||
# toolchain: stable | ||
# override: true | ||
|
||
- run: $env:TMP = "$env:USERPROFILE\T" | ||
continue-on-error: true | ||
- run: $env:TEMP = "$env:USERPROFILE\T" | ||
continue-on-error: true | ||
- run: echo $env:TMP $env:TEMP | ||
continue-on-error: true | ||
|
||
- uses: iffy/install-nim@v5 | ||
with: | ||
version: binary:2.0.6 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Cache nimble modules | ||
id: cache-nimble | ||
|
@@ -211,13 +180,6 @@ jobs: | |
- name: Install stable rust toolchain | ||
uses: dtolnay/[email protected] | ||
|
||
- run: rustup target add x86_64-unknown-linux-musl | ||
|
||
- name: Setup cmake | ||
uses: jwlawson/actions-setup-cmake@v2 | ||
with: | ||
cmake-version: '3.29.3' | ||
|
||
- name: add Absytree as git safe.directory so nimble can install stuff | ||
run: git config --global --add safe.directory /__w/Absytree/Absytree | ||
|
||
|