Compare commits
	
		
			1 Commits
		
	
	
		
			fix-gitea-
			...
			actions
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 96affe4b0b | 
							
								
								
									
										28
									
								
								.gitea/workflows/test.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								.gitea/workflows/test.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,28 @@
 | 
			
		||||
name: "Test"
 | 
			
		||||
on:
 | 
			
		||||
  pull_request:
 | 
			
		||||
  push:
 | 
			
		||||
jobs:
 | 
			
		||||
  evals:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v3
 | 
			
		||||
    - run: apt-get update && apt-get -y install sudo
 | 
			
		||||
    - uses: https://github.com/cachix/install-nix-action@v23
 | 
			
		||||
    - run: echo -e "show-trace = true\nmax-jobs = auto\ntrusted-users = root\nexperimental-features = nix-command flakes\nbuild-users-group =" > /etc/nix/nix.conf
 | 
			
		||||
    - run: nix flake check
 | 
			
		||||
  builds:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v3
 | 
			
		||||
    - run: apt-get update && apt-get -y install sudo
 | 
			
		||||
    - run: su node
 | 
			
		||||
    - run: whoami
 | 
			
		||||
    - uses: https://github.com/cachix/install-nix-action@v23
 | 
			
		||||
    - run: echo -e "show-trace = true\nmax-jobs = auto\ntrusted-users = root\nexperimental-features = nix-command flakes\nbuild-users-group =" > /etc/nix/nix.conf
 | 
			
		||||
    - run: nix build --keep-going .#nixosConfigurations.bekkalokk.config.system.build.toplevel || exit 0
 | 
			
		||||
    # - run: nix build --keep-going .#nixosConfigurations.bicep.config.system.build.toplevel || exit 0
 | 
			
		||||
    # - run: nix build --keep-going .#nixosConfigurations.brzeczyszczykiewicz.config.system.build.toplevel || exit 0
 | 
			
		||||
    # - run: nix build --keep-going .#nixosConfigurations.georg.config.system.build.toplevel || exit 0
 | 
			
		||||
    # - run: nix build --keep-going .#nixosConfigurations.ildkule.config.system.build.toplevel || exit 0
 | 
			
		||||
    # - run: nix build --keep-going .#nixosConfigurations.shark.config.system.build.toplevel || exit 0
 | 
			
		||||
		Reference in New Issue
	
	Block a user