Skip to content

Commit 1806e27

Browse files
committed
Clean up
1 parent 0cbebc3 commit 1806e27

File tree

2 files changed

+31
-26
lines changed

2 files changed

+31
-26
lines changed

.github/workflows/build.yml

Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ name: Build
33
on:
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

911
env:
1012
CARGO_TERM_COLOR: always
@@ -13,28 +15,31 @@ env:
1315
CARGO_INCREMENTAL: 0
1416

1517
jobs:
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

.github/workflows/ci_tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: CI-Tests
22

33
on:
44
push:
5-
# branches: [ "main" ]
6-
# paths-ignore: ["README.md", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md"]
7-
# pull_request:
8-
# paths-ignore: ["README.md", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md"]
5+
branches: [ "main" ]
6+
paths-ignore: ["README.md", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md"]
7+
pull_request:
8+
paths-ignore: ["README.md", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md"]
99

1010
env:
1111
CARGO_TERM_COLOR: always

0 commit comments

Comments
 (0)