Skip to content

Commit d182969

Browse files
committed
Fix typo and Update workflow
1 parent 3905781 commit d182969

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

.github/workflows/docker.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
# https://github.com/docker/metadata-action
3535
- name: Extract Docker metadata
3636
id: meta
37-
uses: docker/metadata-action@v4
37+
uses: docker/metadata-action@v5
3838
with:
3939
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4040

@@ -43,12 +43,12 @@ jobs:
4343

4444
# Workaround: https://github.com/docker/build-push-action/issues/461
4545
- name: Setup Docker buildx
46-
uses: docker/setup-buildx-action@v2
46+
uses: docker/setup-buildx-action@v3
4747

4848
# Build Docker image with Buildx
4949
# https://github.com/docker/build-push-action
5050
- name: Build Docker image
51-
uses: docker/build-push-action@v3
51+
uses: docker/build-push-action@v6
5252
with:
5353
load: true
5454
context: .
@@ -67,7 +67,7 @@ jobs:
6767
# https://github.com/docker/login-action
6868
- name: Log into registry ${{ env.REGISTRY }}
6969
if: github.event_name != 'pull_request'
70-
uses: docker/login-action@v2
70+
uses: docker/login-action@v3
7171
with:
7272
registry: ${{ env.REGISTRY }}
7373
username: ${{ secrets.DOCKER_USERNAME }}
@@ -76,7 +76,7 @@ jobs:
7676
# Build and push Docker image with Buildx (don't push on PR)
7777
# https://github.com/docker/build-push-action
7878
- name: Build and push Docker image
79-
uses: docker/build-push-action@v3
79+
uses: docker/build-push-action@v6
8080
with:
8181
push: ${{ github.event_name != 'pull_request' }}
8282
context: .

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# <https://github.com/llvm/llvm-project/blob/llvmorg-18.0.6/llvm/CMakeLists.txt>
1+
# <https://github.com/llvm/llvm-project/blob/llvmorg-18.1.8/llvm/CMakeLists.txt>
22
cmake_minimum_required(VERSION 3.20.0)
33
project(SYsU-lang VERSION 2404.1.0.20241127)
44
include(CPack)

generator/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,5 +137,5 @@ $ echo $? # 在 Unix & Linux 中,可以通过 echo $? 来查看最后运行的
137137
- [Kaleidoscope: Code generation to LLVM IR](https://releases.llvm.org/18.1.8/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.html)
138138
- [SYsU-lang 实验三快速上手](https://www.yuque.com/shuitang/rra4fg/bnqy1c)
139139
- [Viz.js — Graphviz in your browser.](http://viz-js.com/)
140-
- [llvm::IRBuilder](https://github.com/llvm/llvm-project/blob/llvmorg-18.0.6/llvm/include/llvm/IR/IRBuilder.h)
140+
- [llvm::IRBuilder](https://github.com/llvm/llvm-project/blob/llvmorg-18.1.8/llvm/include/llvm/IR/IRBuilder.h)
141141
- 该文件同样位于 ubuntu:24.04 中 [llvm-dev](https://packages.ubuntu.com/noble/llvm-dev) 包的 </usr/include/llvm/IR/IRBuilder.h>。

grammar/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,5 +347,5 @@ Visitor 有更强的可定制性,但是需要自行实现每个节点到子节
347347
- [Preprocessor Output](https://gcc.gnu.org/onlinedocs/gcc-13.2.0/cpp/Preprocessor-Output.html)
348348
- [`antlr4-runtime/antlr4-runtime.h`](https://github.com/antlr/antlr4/blob/4.9.3/runtime/Cpp/runtime/src/antlr4-runtime.h)
349349
- 该目录同样位于 ubuntu:24.04 中 [libantlr4-runtime-dev](https://packages.ubuntu.com/noble/libantlr4-runtime-dev) 包的 </usr/include/antlr4-runtime/antlr4-runtime.h>
350-
- [llvm::json](https://github.com/llvm/llvm-project/blob/llvmorg-18.0.6/llvm/include/llvm/Support/JSON.h)
350+
- [llvm::json](https://github.com/llvm/llvm-project/blob/llvmorg-18.1.8/llvm/include/llvm/Support/JSON.h)
351351
- 该文件同样位于 ubuntu:24.04 中 [llvm-dev](https://packages.ubuntu.com/noble/llvm-dev) 包的 </usr/include/llvm/Support/JSON.h>

librarian/lib/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
foreach(lib sysy;sysu)
22
file(GLOB mains ${lib}/*.cc)
3-
add_library(${lib} SHARED ${mains})
3+
add_library(${lib} ${mains})
44
install(TARGETS ${lib})
55
target_include_directories(${lib}
66
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../include)

parser/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,5 +324,5 @@ flowchart TD;
324324
325325
- [GNU Bison - The Yacc-compatible Parser Generator](https://www.gnu.org/software/bison/manual/)
326326
- [FindBISON — CMake 3.20.6 Documentation](https://cmake.org/cmake/help/v3.20/module/FindBISON.html)
327-
- [llvm::json](https://github.com/llvm/llvm-project/blob/llvmorg-18.0.6/llvm/include/llvm/Support/JSON.h)
327+
- [llvm::json](https://github.com/llvm/llvm-project/blob/llvmorg-18.1.8/llvm/include/llvm/Support/JSON.h)
328328
- 该文件同样位于 ubuntu:24.04 中 [llvm-dev](https://packages.ubuntu.com/noble/llvm-dev) 包的 </usr/include/llvm/Support/JSON.h>

0 commit comments

Comments
 (0)