mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-17 21:38:10 +00:00
Ci/make build linux use flake.nix (#394)
* make `build-linux` use `flake.nix` * fix: `on pull_request` not `on pull-request` * fix: shouldn't declare paths for a list * fix: typo in release job build path * fix: move ccache dir creation to `restore-cache.yml` * fix: `runner.temp` should be `RUNNER_TEMP` * fix: env vars should be constructed in the j*bs * fix: use cache dir directly * fix: remove "**.c++" and "**.h++" * fix: remove `.yml` extension from local actions * fix: composite actions should use composite syntax * fix: move build-meson back into composite * fix: add `nix_path` to nix install step * fix: move composite workflows into `.github/actions` * fix: move actions into a directory name after them and then rename them to action * fix: add a shell for each run step * fix: use single-quote strings in interpolation * fix: use nix as the shell for compilation * make `build-linux` use `flake.nix` * fix: `on pull_request` not `on pull-request` * fix: shouldn't declare paths for a list * fix: typo in release job build path * fix: move ccache dir creation to `restore-cache.yml` * fix: `runner.temp` should be `RUNNER_TEMP` * fix: env vars should be constructed in the j*bs * fix: use cache dir directly * fix: remove "**.c++" and "**.h++" * fix: remove `.yml` extension from local actions * fix: composite actions should use composite syntax * fix: move build-meson back into composite * fix: add `nix_path` to nix install step * fix: move composite workflows into `.github/actions` * fix: move actions into a directory name after them and then rename them to action * fix: add a shell for each run step * fix: use single-quote strings in interpolation * fix: use nix as the shell for compilation * fix: UI_REPEAT constant linkage * make `build-linux` use `flake.nix` * fix: `on pull_request` not `on pull-request` * fix: shouldn't declare paths for a list * fix: typo in release job build path * fix: move ccache dir creation to `restore-cache.yml` * fix: `runner.temp` should be `RUNNER_TEMP` * fix: env vars should be constructed in the j*bs * fix: use cache dir directly * fix: remove "**.c++" and "**.h++" * fix: remove `.yml` extension from local actions * fix: composite actions should use composite syntax * fix: move build-meson back into composite * fix: add `nix_path` to nix install step * fix: move composite workflows into `.github/actions` * fix: move actions into a directory name after them and then rename them to action * fix: add a shell for each run step * fix: use single-quote strings in interpolation * fix: use nix as the shell for compilation * make `build-linux` use `flake.nix` * fix: `on pull_request` not `on pull-request` * fix: shouldn't declare paths for a list * fix: typo in release job build path * fix: move ccache dir creation to `restore-cache.yml` * fix: `runner.temp` should be `RUNNER_TEMP` * fix: env vars should be constructed in the j*bs * fix: use cache dir directly * fix: remove "**.c++" and "**.h++" * fix: remove `.yml` extension from local actions * fix: composite actions should use composite syntax * fix: move build-meson back into composite * fix: add `nix_path` to nix install step * fix: move composite workflows into `.github/actions` * fix: move actions into a directory name after them and then rename them to action * fix: add a shell for each run step * fix: use single-quote strings in interpolation * fix: use nix as the shell for compilation * ci: use unity/no-unity instead of release/debug * rename build-linux jobs --------- Co-authored-by: Tropical <42101043+tropicaaal@users.noreply.github.com>
This commit is contained in:
18
.github/actions/enter-devshell/action.yml
vendored
Normal file
18
.github/actions/enter-devshell/action.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
name: "Enter Nix dev-shell"
|
||||
description: "Enters a Nix dev-shell"
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v31
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
|
||||
- name: Verify flake integrity
|
||||
shell: bash
|
||||
run: nix flake check
|
||||
|
||||
- name: Enter Nix dev-shell
|
||||
shell: bash
|
||||
run: nix develop
|
||||
Reference in New Issue
Block a user