Skip to content

Commit ff8ce3c

Browse files
committed
update cangjie version
1 parent bb92c11 commit ff8ce3c

3 files changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,29 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
name: Build on ${{ matrix.os }}
7+
name: Build on ${{ matrix.os }} with version ${{ matrix.version }}
88
runs-on: ${{ matrix.os }}
99
strategy:
1010
matrix:
11-
os: [ubuntu-latest, windows-latest, macos-latest]
11+
include:
12+
- os: ubuntu-latest
13+
version: 1.0.0
14+
- os: ubuntu-latest
15+
version: 1.0.1
16+
- os: windows-latest
17+
version: 1.0.1
18+
- os: macos-latest
19+
version: 1.0.1
20+
1221
steps:
1322
- name: Checkout
1423
uses: actions/checkout@v4
1524

1625
- name: Setup Cangjie
17-
uses: Zxilly/setup-cangjie@v1.8.0
26+
uses: Zxilly/setup-cangjie@v2.0.0
1827
with:
1928
channel: lts
20-
version: 1.0.0
29+
version: ${{ matrix.version }}
2130
tool-cache: true
2231
archive-path: ./cangjie-archive
2332

cjpm.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
target-dir = ""
77
src-dir = ""
88
output-type = "dynamic"
9-
compile-option = "--dy-std --dy-libs -O2"
9+
compile-option = "--dy-std -O2"
1010
override-compile-option = ""
1111
link-option = ""
1212
package-configuration = {}

src/enums.cj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
macro package cenum
22

33
import std.ast.*
4-
import std.convert.*
54
65
public macro Enum(attrTokens: Tokens, inputTokens: Tokens) {
76
makeEnum(attrTokens, inputTokens)

0 commit comments

Comments
 (0)