File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed
Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Release (Linux tools)
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout repository
14+ uses : actions/checkout@v4
15+
16+ - name : Set up Python 3
17+ uses : actions/setup-python@v4
18+ with :
19+ python-version : ' 3.x'
20+
21+ - name : Install required libs
22+ run : |
23+ sudo apt-get update
24+ sudo apt-get install -y g++ make build-essential cmake libarchive-dev python3 genisoimage
25+
26+ - name : Run configure
27+ run : ./configure
28+
29+ - name : Compile create_iso
30+ run : g++ -o create_iso common-tools/linux/create_iso/create_iso.cpp
31+
32+ - name : Compile extract_iso
33+ run : g++ -o extract_iso common-tools/linux/extract_iso/extract_iso.cpp -larchive
34+
35+ - name : Compile create_bin
36+ run : g++ -o create_bin common-tools/linux/create_bin/create_bin.cpp
37+
38+ - name : Compile create_tar
39+ run : g++ -o create_tar common-tools/linux/create_tar/create_tar.cpp
40+
41+ - name : Compile create_zip
42+ run : g++ -o create_zip common-tools/linux/create_tar/create_zip.cpp
43+
44+ - name : Upload Artifacts
45+ uses : actions/upload-artifact@v4
46+ with :
47+ name : compiled-linux-tools
48+ path : |
49+ create_iso
50+ extract_iso
51+ create_tar
52+ create_bin
53+ create_zip
54+
You can’t perform that action at this time.
0 commit comments