aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ccpp.yml
blob: cd0eda73db50c9cd6937769a4cadde09be9f98e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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-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 }}