-
Notifications
You must be signed in to change notification settings - Fork 2
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
2 changed files
with
54 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
on: [push] | ||
name: Build on Linux | ||
jobs: | ||
build_linux_app: | ||
runs-on: ubuntu-22.04 | ||
name: Build Franz on Ubuntu 22.04 | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: Bogdanp/[email protected] | ||
with: | ||
architecture: 'x64' | ||
distribution: 'full' | ||
variant: 'CS' | ||
version: '8.10' | ||
- name: Install Noise | ||
run: | | ||
env GIT_LFS_SKIP_SMUDGE=1 \ | ||
git clone \ | ||
--depth 1 \ | ||
--branch racket-8.10 \ | ||
https://github.com/Bogdanp/Noise Noise | ||
raco pkg install -D --batch --auto Noise/Racket/noise-serde-lib/ | ||
- name: Prepare secrets | ||
run: | | ||
echo -n "$LICENSE_SECRET" | base64 -d > core/secrets/license-secret.txt | ||
echo -n "$SENTRY_DSN" | base64 -d > core/secrets/sentry-dsn.txt | ||
env: | ||
LICENSE_SECRET: ${{ secrets.LICENSE_SECRET }} | ||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }} | ||
- name: Install core | ||
run: raco pkg install -D --batch --auto --name franz core/ | ||
- name: Install FranzCross | ||
run: raco pkg install -D --batch --auto FranzCross/ | ||
- name: Build distribution | ||
run: bash ./build.sh | ||
working-directory: FranzCross | ||
- name: Upload distribution | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Franz.zip | ||
path: FranzCross/dist |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
raco exe \ | ||
-o Franz \ | ||
--gui \ | ||
--ico ./assets/icon.ico \ | ||
++lang lua \ | ||
++lib lua/lang/runtime-config \ | ||
++lib racket/runtime-config \ | ||
./main.rkt | ||
raco dist dist Franz |