@@ -3,8 +3,10 @@ name: Build
33on :
44 push :
55 branches : [ "main" ]
6+ paths-ignore : ["README.md", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md"]
67 pull_request :
78 branches : [ "main" ]
9+ paths-ignore : ["README.md", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md"]
810
911env :
1012 CARGO_TERM_COLOR : always
1315 CARGO_INCREMENTAL : 0
1416
1517jobs :
16- # build_on_linux:
17- # name: Build Catalyst Core on Linux
18- # runs-on: ubuntu-latest
19- # env:
20- # CARGO_FLAGS: --verbose --locked
21- # steps:
22- # - name: Checkout code
23- # uses: actions/checkout@v3
24- # with:
25- # ref: ${{ github.event.pull_request.head.sha }}
26- # - uses: Swatinem/rust-cache@v2
27- # - name: Install Nextest
28- # run: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
29- # - name: Install deps
30- # run:
31- # sudo apt install -y protobuf-compiler libssl-dev libpq-dev libsqlite3-dev pkg-config
32-
33- # - name: Build on Linux
34- # uses: actions-rs/toolchain@v1
35- # with:
36- # toolchain: "1.65"
37- # - run: cargo build
18+ build_on_linux :
19+ name : Build Catalyst Core on Linux
20+ runs-on : ubuntu-latest
21+ env :
22+ CARGO_FLAGS : --verbose --locked
23+ steps :
24+ - name : Checkout code
25+ uses : actions/checkout@v3
26+ with :
27+ ref : ${{ github.event.pull_request.head.sha }}
28+
29+ - uses : Swatinem/rust-cache@v2
30+
31+ - name : Install Nextest
32+ run : curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
33+
34+ - name : Install deps
35+ run :
36+ sudo apt install -y protobuf-compiler libssl-dev libpq-dev libsqlite3-dev pkg-config
37+
38+ - name : Build on Linux
39+ uses : actions-rs/toolchain@v1
40+ with :
41+ toolchain : " 1.65"
42+ - run : cargo build
3843
3944 build_on_windows :
4045 name : Build Catalyst Core on Windows
0 commit comments