Skip to content

Commit ccea6df

Browse files
authored
Merge pull request #5 from TD-Addon/carcinisation
Rust rewrite
2 parents 0ee32f6 + 93e55b2 commit ccea6df

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+6364
-3088
lines changed

.eslintrc.js

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/release.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: release
2+
on:
3+
push:
4+
tags:
5+
- "v[0-9]+.[0-9]+.[0-9]+"
6+
jobs:
7+
setup:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/create-release@v1
11+
env:
12+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13+
with:
14+
tag_name: ${{ github.ref }}
15+
release_name: ${{ github.ref }}
16+
build:
17+
needs: setup
18+
strategy:
19+
matrix:
20+
os: [macos-latest, ubuntu-latest, windows-latest]
21+
include:
22+
- os: macos-latest
23+
binary: StandardsValidator
24+
archive: macos-latest.zip
25+
- os: ubuntu-latest
26+
binary: StandardsValidator
27+
archive: ubuntu-latest.zip
28+
- os: windows-latest
29+
binary: StandardsValidator.exe
30+
archive: windows-latest.zip
31+
runs-on: ${{ matrix.os }}
32+
steps:
33+
- uses: actions/checkout@v3
34+
- uses: dtolnay/rust-toolchain@nightly
35+
36+
- name: build
37+
run: cargo build --release
38+
39+
- name: compress
40+
run: tar -acf ${{ matrix.archive }} -C ./target/release/ ${{ matrix.binary }}
41+
42+
- name: upload
43+
uses: softprops/action-gh-release@v1
44+
env:
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46+
with:
47+
files: ${{ matrix.archive }}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
node_modules/
1+
target/

0 commit comments

Comments
 (0)