This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
maybe finally fixed workflows #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request Check | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@main | |
- name: Get repository information | |
uses: actions/github-script@v6 | |
with: | |
script: | | |
const repo = context.payload.repository.full_name; | |
console.log(`The repository is ${repo}`); | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y make tar | |
- name: Download and extract CEdev | |
run: | | |
curl -sL github.com/CE-Programming/toolchain/releases/download/v11.2/CEdev-Linux.tar.gz | tar xz | |
- name: Add CEdev to PATH | |
run: | | |
echo "CEdev/bin" >> $GITHUB_PATH | |
echo $GITHUB_PATH | |
- name: Make GFX | |
run: make gfx | |
- name: Build TINET.8xp | |
run: make | |
- name: Upload TINET.8xp | |
uses: actions/upload-artifact@v3 | |
with: | |
name: TINET.8xp | |
path: bin/TINET.8xp | |
- name: Set final commit status | |
uses: myrotvorets/set-commit-status-action@master | |
if: always() | |
with: | |
sha: ${{ steps.comment-branch.outputs.head_sha }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
status: ${{ job.status }} |