File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99jobs :
1010 build-linux :
1111 runs-on : ubuntu-latest
12- container : ubuntu:14.04
1312 steps :
1413 - uses : actions/checkout@v3
14+ - uses : actions/setup-python@v2
1515 - name : Install dependencies
1616 run : |
1717 sudo apt-get update
1818 sudo apt-get install -y software-properties-common
19- sudo add-apt-repository ppa:george-edison55/cmake-3.x
20- sudo apt-get update
21- sudo apt-get install -y cmake cmake-data git build-essential autoconf automake libtool texinfo bison flex pkg-config python
19+ sudo apt-get install -y cmake cmake-data git build-essential autoconf automake libtool texinfo bison flex pkg-config
2220 - name : Build
2321 run : |
2422 git config --global user.email "builds@travis-ci.com"
5351 with :
5452 name : vitasdk-macos
5553 path : build/*.tar.bz2
56-
54+ build-windows :
55+ runs-on : ubuntu-latest
56+ steps :
57+ - uses : actions/checkout@v3
58+ - uses : actions/setup-python@v2
59+ - name : Install dependencies
60+ run : |
61+ sudo apt-get update
62+ sudo apt-get install -y software-properties-common
63+ sudo apt-get install -y cmake cmake-data git build-essential autoconf automake libtool texinfo bison flex pkg-config g++-mingw-w64
64+ - name : Build
65+ run : |
66+ git config --global user.email "builds@travis-ci.com"
67+ git config --global user.name "Travis CI"
68+ unset CXX
69+ unset CC
70+ mkdir build
71+ cd build
72+ cmake .. -DCMAKE_TOOLCHAIN_FILE=toolchain-x86_64-w64-mingw32.cmake
73+ make -j$(nproc) tarball
74+ - name : Upload artifacts
75+ if : ${{ success() }}
76+ uses : actions/upload-artifact@v3
77+ with :
78+ name : vitasdk-windows
79+ path : build/*.tar.bz2
You can’t perform that action at this time.
0 commit comments