1111 build-linux :
1212 runs-on : ubuntu-20.04
1313 steps :
14- - uses : actions/checkout@v3
15- - uses : actions/setup-python@v2
14+ - uses : actions/checkout@v4
15+ - uses : actions/setup-python@v5
1616 - name : Install dependencies
1717 run : |
1818 sudo apt-get update
3434 make -j$(nproc) tarball
3535 - name : Upload artifacts
3636 if : ${{ success() }}
37- uses : actions/upload-artifact@v3
37+ uses : actions/upload-artifact@v4
3838 with :
3939 name : vitasdk-linux
4040 path : buildscripts/build/*.tar.bz2
@@ -47,11 +47,50 @@ jobs:
4747 file_glob : true
4848 tag : master-linux-v2.${{github.run_number}}
4949 release_name : master-linux-v2.${{github.run_number}}
50+ build-linux-arm64 :
51+ runs-on : ubuntu-24.04-arm
52+ steps :
53+ - uses : actions/checkout@v4
54+ - uses : actions/setup-python@v5
55+ - name : Install dependencies
56+ run : |
57+ sudo apt-get update
58+ sudo apt-get install -y software-properties-common
59+ sudo apt-get install -y cmake cmake-data git build-essential autoconf automake libtool texinfo bison flex pkg-config
60+ - name : Clone
61+ run : |
62+ export REV=dirty-$(git describe --always)
63+ git clone https://github.com/vitasdk/buildscripts.git
64+ chmod +x *.sh
65+ - name : Build
66+ run : |
67+ cd buildscripts
68+ git config --global user.email "builds@travis-ci.com"
69+ git config --global user.name "Travis CI"
70+ mkdir build
71+ cd build
72+ cmake ..
73+ make -j$(nproc) tarball
74+ - name : Upload artifacts
75+ if : ${{ success() }}
76+ uses : actions/upload-artifact@v4
77+ with :
78+ name : vitasdk-linux-arm64
79+ path : buildscripts/build/*.tar.bz2
80+ - uses : svenstaro/upload-release-action@v2
81+ if : contains(github.ref,'refs/heads/master')
82+ with :
83+ repo_token : ${{ secrets.GITHUB_TOKEN }}
84+ file : buildscripts/build/*.tar.bz2
85+ overwrite : true
86+ file_glob : true
87+ tag : master-linux-arm64-v2.${{github.run_number}}
88+ release_name : master-linux-arm64-v2.${{github.run_number}}
5089 build-macos :
5190 runs-on : macos-12
5291 steps :
53- - uses : actions/checkout@v3
54- - uses : actions/setup-python@v2
92+ - uses : actions/checkout@v4
93+ - uses : actions/setup-python@v5
5594 - name : Install dependencies
5695 run : |
5796 brew install autoconf automake libtool
71110 make -j$(nproc) tarball
72111 - name : Upload artifacts
73112 if : ${{ success() }}
74- uses : actions/upload-artifact@v3
113+ uses : actions/upload-artifact@v4
75114 with :
76115 name : vitasdk-macos
77116 path : buildscripts/build/*.tar.bz2
90129 # mingw output have to be static linking, and that this reason, we are able to use 22.04 in here
91130 runs-on : ubuntu-22.04
92131 steps :
93- - uses : actions/checkout@v3
94- - uses : actions/setup-python@v2
132+ - uses : actions/checkout@v4
133+ - uses : actions/setup-python@v5
95134 - name : Install dependencies
96135 run : |
97136 sudo apt-get update
@@ -115,7 +154,7 @@ jobs:
115154 make -j$(nproc) tarball
116155 - name : Upload artifacts
117156 if : ${{ success() }}
118- uses : actions/upload-artifact@v3
157+ uses : actions/upload-artifact@v4
119158 with :
120159 name : vitasdk-windows
121160 path : buildscripts/build/*.tar.bz2
0 commit comments