This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Pull new changes from master and merge to add workflow files
Signed-off-by: XOR·APPS <[email protected]>
- Loading branch information
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# This is a CI workflow file created to execute on push and pull requests | ||
|
||
name: pull_push_workflow | ||
on: [pull_request, push] | ||
jobs: | ||
|
||
kotlin-compiler: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Update packages | ||
run: sudo apt update | ||
- name: Installing JDK | ||
run: sudo apt install openjdk-11-jdk | ||
- name: Installing SDKMAN and kotlin complier | ||
run: | | ||
curl -s "https://get.sdkman.io" | bash | ||
source "/home/runner/.sdkman/bin/sdkman-init.sh" | ||
sdk help | ||
sdk version | ||
sdk install kotlin | ||
- name: Message | ||
run: echo "kotlin complier installation complete...." | ||
|
||
make-install: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Install make | ||
run: sudo apt install make -y | ||
- name: Checking make version | ||
run: make --version | ||
- name: Checking the make directory | ||
run: ls /usr/bin/make | ||
- name: Message | ||
run: echo "makefile installation complete...." | ||
|
||
run-make: | ||
runs-on: ubuntu-22.04 | ||
needs: make-install | ||
defaults: | ||
run: | ||
working-directory: tests | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
- name: Executing make | ||
run: make | ||
- name: Message | ||
run: echo "makefile execution complete...." |