this repo has no description
1
fork

Configure Feed

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

Merge pull request #750 from TheBrokenRail/patch-29

Remove Redundant Argument from tools/makedeb in Github Actions

authored by

Luboš Doležel and committed by
GitHub
17df4d58 65d38e88

+14 -30
+14 -30
.github/workflows/ccpp.yml
··· 3 3 on: [push] 4 4 5 5 jobs: 6 - build: 7 - 6 + build-deb: 8 7 runs-on: ubuntu-latest 9 - 10 8 steps: 11 9 - uses: actions/checkout@v2 12 - - name: Checkout submodules 10 + - name: Checkout Submodules 13 11 shell: bash 14 12 run: | 15 13 # If your submodules are configured to use SSH instead of HTTPS please uncomment the following line ··· 18 16 auth_header="$(git config --local --get http.https://github.com/.extraheader)" 19 17 git submodule sync --recursive 20 18 git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 21 - - name: install 22 - run: sudo apt-get update && sudo apt-get install cmake clang bison flex libfuse-dev libudev-dev pkg-config libc6-dev-i386 linux-headers-generic gcc-multilib libcairo2-dev libgl1-mesa-dev libtiff5-dev libfreetype6-dev git libelf-dev libxml2-dev libegl1-mesa-dev libfontconfig1-dev libbsd-dev libxrandr-dev libxcursor-dev libgif-dev libavutil-dev libpulse-dev libavformat-dev libavcodec-dev libavresample-dev devscripts debhelper ninja-build tree libdbus-1-dev 23 - - name: make deb 24 - run: tools/makedeb -j2 19 + - name: Install Dependencies 20 + run: | 21 + sudo apt-get update && sudo apt-get install devscripts equivs 22 + sudo mk-build-deps -ir 23 + - name: Build DEB 24 + run: tools/makedeb 25 25 - name: Move DEBs 26 26 run: mkdir dist && mv ../*.deb dist 27 27 - name: Upload Artifacts ··· 29 29 with: 30 30 name: 'debs' 31 31 path: dist/ 32 - build-src: 33 32 33 + build-dsc: 34 34 runs-on: ubuntu-latest 35 - 36 35 steps: 37 36 - uses: actions/checkout@v2 38 - - name: Checkout submodules 37 + - name: Checkout Submodules 39 38 shell: bash 40 39 run: | 41 40 # If your submodules are configured to use SSH instead of HTTPS please uncomment the following line ··· 44 43 auth_header="$(git config --local --get http.https://github.com/.extraheader)" 45 44 git submodule sync --recursive 46 45 git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 47 - - name: install 48 - run: sudo apt-get update && sudo apt-get install cmake clang bison flex libfuse-dev libudev-dev pkg-config libc6-dev-i386 linux-headers-generic gcc-multilib libcairo2-dev libgl1-mesa-dev libtiff5-dev libfreetype6-dev git libelf-dev libxml2-dev libegl1-mesa-dev libfontconfig1-dev libbsd-dev libxrandr-dev libxcursor-dev libgif-dev libavutil-dev libpulse-dev libavformat-dev libavcodec-dev libavresample-dev ccache devscripts debhelper ninja-build tree libdbus-1-dev 49 - - name: Prepare ccache timestamp 50 - id: ccache_cache_timestamp 51 - shell: cmake -P {0} 52 - run: | 53 - string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC) 54 - message("::set-output name=timestamp::${current_date}") 55 - - name: ccache cache files 56 - uses: actions/cache@v1.1.0 57 - with: 58 - path: /home/runner/.ccache 59 - key: ${ { matrix.config.name } }-ccache-${ { steps.ccache_cache_timestamp.outputs.timestamp } } 60 - restore-keys: | 61 - ${ { matrix.config.name } }-ccache- 62 - - name: ccache info 63 - run: ccache -s 64 - - name: make deb src 46 + - name: Install Dependencies 47 + run: sudo apt-get update && sudo apt-get install devscripts dpkg-dev 48 + - name: Build DSC 65 49 run: tools/makedeb --dsc 66 - - name: Move DEBs 50 + - name: Move DSCs 67 51 run: mkdir source && mv ../*~testing.* source 68 52 - name: Upload Artifacts 69 53 uses: actions/upload-artifact@v1