diff --git a/.github/workflows/appbuild.yml b/.github/workflows/appbuild.yml new file mode 100644 index 000000000..fcc5440fe --- /dev/null +++ b/.github/workflows/appbuild.yml @@ -0,0 +1,38 @@ +name: Build app package + +on: + pull_request: + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [12.x] + + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: Setup PHP + uses: shivammathur/setup-php@v1 + with: + php-version: '7.4' + tools: composer + - name: install dependencies + run: | + wget https://github.com/ChristophWurst/krankerl/releases/download/v0.12.2/krankerl_0.12.2_amd64.deb + sudo dpkg -i krankerl_0.12.2_amd64.deb + - name: package + run: | + uname -a + RUST_BACKTRACE=1 krankerl --version + RUST_BACKTRACE=1 krankerl package + - uses: actions/upload-artifact@v2 + with: + name: Deck app tarball + path: build/artifacts/deck.tar.gz