File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6565 shell : bash
6666 run : ./bin/test
6767
68+ build :
69+ name : Build Kettle
70+ steps :
71+ - uses : actions/checkout@v6
72+ - uses : actions-rust-lang/setup-rust-toolchain@v1
73+ - run : cargo build --release
74+ - uses : actions/upload-artifact@v8
75+ with :
76+ name : kettle
77+ path : target/release/kettle
78+ if-no-files-found : error
79+
6880 build-projects :
81+ needs : [build]
6982 name : Build ${{ matrix.project }} with Kettle
7083 runs-on : ubuntu-latest
7184 strategy :
7588 - burntsushi/ripgrep
7689 - eza-community/eza
7790 steps :
78- - uses : actions/checkout@v6
91+ - name : Check out ${{ matrix.project }}
92+ run : git clone --depth=1 "https://github.com/${{ matrix.owner }}/${{ matrix.project }}
93+ working-directory : /tmp
7994 - uses : actions-rust-lang/setup-rust-toolchain@v1
95+ if : ${{ matrix.toolchain == 'rust' }}
96+ working-directory : /tmp/${{ matrix.project }}
8097 - uses : cachix/install-nix-action@v31
98+ if : ${{ matrix.toolchain == 'nix' }}
8199 with :
82100 github_access_token : ${{ secrets.GITHUB_TOKEN }}
83- - run : bin/kettle-build ${{ matrix.project }}
101+ working-directory : /tmp/${{ matrix.project }}
102+ - uses : actions/download-artifact@v8
103+ with :
104+ name : kettle
105+ - run : ./kettle build /tmp/${{ matrix.project }}
You can’t perform that action at this time.
0 commit comments