Refactor #274
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
name: "nix-linux" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Nix Flake Show | |
run: nix flake show | |
- name: Check Julia Version | |
run: nix develop --show-trace --command -- julia --version | |
- name: Build julia2nix with nix develop | |
run: nix develop --show-trace --command -- init | |
- name: Build JuliaDoc | |
run: nix run -Lv ./nix/std#x86_64-linux.julia2nix.entrypoints.mkdoc docs | |
- name: Check Template Shells | |
run: | | |
nix develop ./templates/dev --show-trace --override-input julia2nix ./. --command -- julia --version | |
- name: Check julia2nix tests | |
run: | | |
nix develop --show-trace --command -- mktest | |
- name: Build Julia Wrapped | |
run: | | |
nix run .#packages.x86_64-linux.julia-wrapped --print-build-logs -- --version | |
- name: Build Depot Path | |
run: | | |
nix build .#packages.x86_64-linux.build-depot --print-build-logs | |
- name: Build Julia2Project and write julia2nix.toml | |
run: | | |
nix -Lv develop --command buildProject | |
# - name: Build jlrs -> call_julia | |
# run: | | |
# nix develop ./templates/jlrs --override-input julia2nix ./. --show-trace --command -- call-julia | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
if: ${{ github.event_name == 'push' }} | |
with: | |
branch: gh-pages | |
folder: ./docs/build |