From 4abe8119615f151ab580c6491a0a15f8a54e7068 Mon Sep 17 00:00:00 2001 From: Kent Louise Tonino Date: Tue, 30 Jul 2024 19:21:45 +0800 Subject: [PATCH] Add workflows. --- .github/workflows/tempscale-develop.yml | 16 ++++++++++++++++ README.md | 4 ++++ build.sh | 3 +++ 3 files changed, 23 insertions(+) create mode 100644 .github/workflows/tempscale-develop.yml create mode 100755 build.sh diff --git a/.github/workflows/tempscale-develop.yml b/.github/workflows/tempscale-develop.yml new file mode 100644 index 0000000..cebaa97 --- /dev/null +++ b/.github/workflows/tempscale-develop.yml @@ -0,0 +1,16 @@ +name: TempScale (develop) + +on: + push: + branches: [ "develop" ] + pull_request: + branches: [ "develop" ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + - name: Build + run: make build diff --git a/README.md b/README.md index 9d11d75..df05123 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,10 @@ ## $\textnormal{Local Development}$ ```sh +# Build the main file. +chmod +x build.sh +./build.sh + # Run the CLI tool. chmod +x run.sh ./run.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..0b0f02d --- /dev/null +++ b/build.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +make build