this repo has no description
1
fork

Configure Feed

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

Merge pull request #1660 from darlinghq/cicd_updates

CICD Updates

authored by

CuriousTommy and committed by
GitHub
aeb344fb f3217a0e

+33 -57
-44
.circleci/config.yml
··· 1 - version: 2.1 2 - orbs: 3 - git-shallow-clone: guitarrapc/git-shallow-clone@2.0.3 4 - jobs: 5 - build: 6 - machine: 7 - image: 'ubuntu-2004:202010-01' 8 - steps: 9 - - git-shallow-clone/checkout 10 - - run: 11 - name: Checkout submodules 12 - command: | 13 - git submodule sync 14 - git submodule update --init --recursive --depth=1 15 - - run: 16 - name: Install dependencies 17 - command: | 18 - sudo dpkg --add-architecture i386 19 - 20 - sudo apt-get update 21 - sudo apt-get install --no-install-recommends -y devscripts equivs debhelper libdistro-info-perl libfreetype6-dev:i386 22 - sudo mk-build-deps -i -r -t "apt-get --no-install-recommends -y" debian/control 23 - - run: 24 - name: Build DSCs 25 - no_output_timeout: 30m 26 - command: | 27 - tools/debian/make-deb --dsc 28 - - run: 29 - name: Move DSCs 30 - command: mkdir source && mv ../*~$(lsb_release -cs).* source 31 - - run: 32 - name: Build DEBs 33 - no_output_timeout: 30m 34 - command: | 35 - tools/debian/make-deb 36 - - run: 37 - name: Move DEBs 38 - command: mkdir dist && mv ../*.deb dist 39 - - store_artifacts: 40 - path: dist/ 41 - destination: debs 42 - - store_artifacts: 43 - path: source/ 44 - destination: source
+33 -13
.github/workflows/actions.yaml
··· 6 6 build-deb: 7 7 runs-on: ubuntu-latest 8 8 steps: 9 - - uses: actions/checkout@v4 10 - 11 - - name: Checkout submodules 12 - shell: bash 13 - run: | 14 - git submodule update --init --recursive --depth=1 9 + - name: Checkout Darling 10 + uses: actions/checkout@v4 11 + with: 12 + submodules: recursive 15 13 16 14 - name: Install dependencies 17 15 run: | ··· 40 38 build-dsc: 41 39 runs-on: ubuntu-latest 42 40 steps: 43 - - uses: actions/checkout@v4 44 - 45 - - name: Checkout submodules 46 - shell: bash 47 - run: | 48 - git submodule update --init --recursive --depth=1 41 + - name: Checkout Darling 42 + uses: actions/checkout@v4 43 + with: 44 + submodules: recursive 49 45 50 46 - name: Install dependencies 51 47 run: | ··· 62 58 - name: Upload artifacts 63 59 uses: actions/upload-artifact@v4.1.0 64 60 with: 65 - name: 'source' 61 + name: 'deb-source' 66 62 path: source/ 63 + 64 + create-source-artifact: 65 + runs-on: ubuntu-latest 66 + steps: 67 + - name: Checkout Darling 68 + uses: actions/checkout@v4 69 + with: 70 + submodules: recursive 71 + path: source/darling 72 + 73 + - name: Compress source 74 + run: | 75 + mkdir -v archive 76 + tar --create --gzip --verbose \ 77 + --file archive/darling-source.tar.gz \ 78 + --exclude=.git --exclude=.gitmodules --exclude=.gitignore \ 79 + --directory=source \ 80 + darling 81 + 82 + - name: Upload artifacts 83 + uses: actions/upload-artifact@v4.1.0 84 + with: 85 + name: 'source' 86 + path: archive/