diff options
author | Marvin Borner | 2019-11-01 01:41:53 +0100 |
---|---|---|
committer | Marvin Borner | 2019-11-01 01:41:53 +0100 |
commit | ae3b264c17e25325fb91831494f459bd6b1c4b7a (patch) | |
tree | 61f14e9afc911cdc06c291d8016ce35b1b222ee7 /.github | |
parent | 283eb56dc6599db602dbda726deba64ed4b50e97 (diff) |
Added single build workflow
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 18 | ||||
-rw-r--r-- | .github/workflows/ccpp.yml | 28 | ||||
-rw-r--r-- | .github/workflows/release.yml | 25 |
3 files changed, 43 insertions, 28 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..637028e --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,18 @@ +name: Project build + +on: + push: + branches: + - master + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Install + run: sudo apt-get update && sudo apt-get install -y build-essential bison flex libgmp3-dev libmpc-dev libmpfr-dev texinfo libcloog-isl-dev libisl-0.18-dev curl nasm grub2 qemu qemu-kvm mtools + - name: Build + run: make cross build diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml deleted file mode 100644 index c9dbe3b..0000000 --- a/.github/workflows/ccpp.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Project build and nightly release - -on: - schedule: - - cron: "0 2 * * 0" - push: - branches: - - master - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - name: Install - run: sudo apt-get update && sudo apt-get install -y build-essential bison flex libgmp3-dev libmpc-dev libmpfr-dev texinfo libcloog-isl-dev libisl-0.18-dev curl nasm grub2 qemu qemu-kvm - - name: Make - run: make cross build - - name: Release - uses: softprops/action-gh-release@v1 - with: - files: build/melvix.iso - name: Melvix Nightly Release - prerelease: 1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..87e3ea4 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,25 @@ +name: Weekly project build and release + +on: + schedule: + - cron: "0 2 * * 0" + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Install + run: sudo apt-get update && sudo apt-get install -y build-essential bison flex libgmp3-dev libmpc-dev libmpfr-dev texinfo libcloog-isl-dev libisl-0.18-dev curl nasm grub2 qemu qemu-kvm mtools + - name: Build + run: make cross build + - name: Release + uses: softprops/action-gh-release@v1 + with: + files: build/melvix.iso + name: Melvix Weekly Release + prerelease: 1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |