this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Try to setup Github Actions (again)

We originally stopped using it because we were running into the disk space limit, but the builds were much faster with it. I've recently stumbled into a neat trick that should let us have more disk space on the runners.

In addition, this commit also moves the darling-swift repository away from LFS. Note that it is now necessary to run a post-checkout script.

+75
+70
.github/workflows/actions.yaml
··· 1 + name: Darling CI 2 + 3 + on: [push] 4 + 5 + jobs: 6 + build-deb: 7 + runs-on: ubuntu-latest 8 + steps: 9 + - uses: actions/checkout@v2 10 + 11 + - name: Checkout submodules 12 + shell: bash 13 + run: | 14 + git submodule update --init --recursive --depth=1 15 + 16 + - name: Post-checkout script 17 + run: | 18 + ./tools/post-checkout.sh 19 + 20 + - name: Install dependencies 21 + run: | 22 + sudo apt-get update && sudo apt-get install devscripts equivs debhelper 23 + sudo mk-build-deps -i -r -t "apt-get --no-install-recommends -y" debian/control 24 + 25 + # see https://github.com/actions/virtual-environments/issues/2606#issuecomment-772683150 26 + - name: Free up space 27 + run: | 28 + sudo rm -rf /usr/share/dotnet 29 + 30 + - name: Build DEBs 31 + run: | 32 + ./tools/debian/make-deb 33 + 34 + - name: Move DEBs 35 + run: | 36 + mkdir dist && mv ../*.deb dist 37 + 38 + - name: Upload artifacts 39 + uses: actions/upload-artifact@v1 40 + with: 41 + name: 'debs' 42 + path: dist/ 43 + 44 + build-dsc: 45 + runs-on: ubuntu-latest 46 + steps: 47 + - uses: actions/checkout@v2 48 + 49 + - name: Checkout submodules 50 + shell: bash 51 + run: | 52 + git submodule update --init --recursive --depth=1 53 + 54 + - name: Install dependencies 55 + run: | 56 + sudo apt-get update && sudo apt-get install devscripts equivs debhelper 57 + 58 + - name: Build DSCs 59 + run: | 60 + ./tools/debian/make-deb --dsc 61 + 62 + - name: Move DSCs 63 + run: | 64 + mkdir source && mv ../*~$(lsb_release -cs).* source 65 + 66 + - name: Upload artifacts 67 + uses: actions/upload-artifact@v1 68 + with: 69 + name: 'source' 70 + path: source/
+5
tools/post-checkout.sh
··· 1 + #!/bin/bash 2 + 3 + SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" 4 + 5 + "$SCRIPT_DIR/../src/external/swift/post-checkout.sh"