Compare commits
3 Commits
main
...
aa4a050058
| Author | SHA1 | Date | |
|---|---|---|---|
| aa4a050058 | |||
| a6cd50396c | |||
| 663ce0d082 |
@@ -1,22 +0,0 @@
|
|||||||
name: Compile
|
|
||||||
run-name: Compiling the software (Void Linux)
|
|
||||||
on: [push]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
Compile:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: ghcr.io/void-linux/void-glibc-full:20260101r1
|
|
||||||
steps:
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
xbps-install -Syu
|
|
||||||
xbps-install -y gcc git make nodejs
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Compile software
|
|
||||||
run: g++ main.cpp -o program
|
|
||||||
|
|
||||||
- name: Execute program
|
|
||||||
run: ./program
|
|
||||||
@@ -1,16 +1,20 @@
|
|||||||
name: Compile
|
name: Compile
|
||||||
run-name: Compiling the software (Ubuntu)
|
run-name: Compiling the software
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Compile:
|
Compile:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: 'ghcr.io/void-linux/void-glibc-full:20260101r1'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- run: uname -a
|
||||||
|
|
||||||
- name: Compile software
|
- name: Compile software
|
||||||
run: g++ main.cpp -o program
|
run: g++ -std=c++23 main.cpp -o program
|
||||||
|
|
||||||
- name: Execute program
|
- name: Execute program
|
||||||
run: ./program
|
run: ./program
|
||||||
|
|||||||
Reference in New Issue
Block a user