-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1274 from Chia-Network/jinjanate
ci: switch from j2cli to jinjanate
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 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 |
---|---|---|
|
@@ -27,7 +27,7 @@ jobs: | |
artifact-name: cadt-linux-x64 | ||
build-command: npm run create-linux-x64-dist | ||
sqlite-path: ./node_modules/sqlite3/build/Release/ | ||
- runs-on: [Linux, ARM64] | ||
- runs-on: ubuntu-24.04-arm | ||
artifact-name: cadt-linux-arm64 | ||
build-command: npm run create-linux-arm64-dist | ||
sqlite-path: ./node_modules/sqlite3/build/Release/ | ||
|
@@ -278,13 +278,13 @@ jobs: | |
CADT_VERSION: ${{ steps.tag-name.outputs.TAGNAME }} | ||
PLATFORM: ${{ matrix.platform }} | ||
run: | | ||
pip install j2cli | ||
pip install jinjanator | ||
CLI_DEB_BASE="cadt_${{ steps.tag-name.outputs.TAGNAME }}-1_${PLATFORM}" | ||
mkdir -p "deb/$CLI_DEB_BASE/opt/cadt" | ||
mkdir -p "deb/$CLI_DEB_BASE/usr/bin" | ||
mkdir -p "deb/$CLI_DEB_BASE/etc/systemd/system" | ||
mkdir -p "deb/$CLI_DEB_BASE/DEBIAN" | ||
j2 -o "deb/$CLI_DEB_BASE/DEBIAN/control" build-scripts/deb/control.j2 | ||
jinjanate -o "deb/$CLI_DEB_BASE/DEBIAN/control" build-scripts/deb/control.j2 | ||
cp -r ${{ matrix.name }}/* "deb/$CLI_DEB_BASE/opt/cadt/" | ||
cp build-scripts/deb/[email protected] deb/$CLI_DEB_BASE/etc/systemd/system/[email protected] | ||
chmod +x deb/$CLI_DEB_BASE/opt/cadt/cadt | ||
|