Skip to content

Commit

Permalink
Fix typo and Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-kan committed Nov 27, 2024
1 parent 3905781 commit d182969
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
# https://github.com/docker/metadata-action
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

Expand All @@ -43,12 +43,12 @@ jobs:

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

# Build Docker image with Buildx
# https://github.com/docker/build-push-action
- name: Build Docker image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
load: true
context: .
Expand All @@ -67,7 +67,7 @@ jobs:
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.DOCKER_USERNAME }}
Expand All @@ -76,7 +76,7 @@ jobs:
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
push: ${{ github.event_name != 'pull_request' }}
context: .
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <https://github.com/llvm/llvm-project/blob/llvmorg-18.0.6/llvm/CMakeLists.txt>
# <https://github.com/llvm/llvm-project/blob/llvmorg-18.1.8/llvm/CMakeLists.txt>
cmake_minimum_required(VERSION 3.20.0)
project(SYsU-lang VERSION 2404.1.0.20241127)
include(CPack)
Expand Down
2 changes: 1 addition & 1 deletion generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,5 @@ $ echo $? # 在 Unix & Linux 中,可以通过 echo $? 来查看最后运行的
- [Kaleidoscope: Code generation to LLVM IR](https://releases.llvm.org/18.1.8/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.html)
- [SYsU-lang 实验三快速上手](https://www.yuque.com/shuitang/rra4fg/bnqy1c)
- [Viz.js — Graphviz in your browser.](http://viz-js.com/)
- [llvm::IRBuilder](https://github.com/llvm/llvm-project/blob/llvmorg-18.0.6/llvm/include/llvm/IR/IRBuilder.h)
- [llvm::IRBuilder](https://github.com/llvm/llvm-project/blob/llvmorg-18.1.8/llvm/include/llvm/IR/IRBuilder.h)
- 该文件同样位于 ubuntu:24.04 中 [llvm-dev](https://packages.ubuntu.com/noble/llvm-dev) 包的 </usr/include/llvm/IR/IRBuilder.h>。
2 changes: 1 addition & 1 deletion grammar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,5 +347,5 @@ Visitor 有更强的可定制性,但是需要自行实现每个节点到子节
- [Preprocessor Output](https://gcc.gnu.org/onlinedocs/gcc-13.2.0/cpp/Preprocessor-Output.html)
- [`antlr4-runtime/antlr4-runtime.h`](https://github.com/antlr/antlr4/blob/4.9.3/runtime/Cpp/runtime/src/antlr4-runtime.h)
- 该目录同样位于 ubuntu:24.04 中 [libantlr4-runtime-dev](https://packages.ubuntu.com/noble/libantlr4-runtime-dev) 包的 </usr/include/antlr4-runtime/antlr4-runtime.h>
- [llvm::json](https://github.com/llvm/llvm-project/blob/llvmorg-18.0.6/llvm/include/llvm/Support/JSON.h)
- [llvm::json](https://github.com/llvm/llvm-project/blob/llvmorg-18.1.8/llvm/include/llvm/Support/JSON.h)
- 该文件同样位于 ubuntu:24.04 中 [llvm-dev](https://packages.ubuntu.com/noble/llvm-dev) 包的 </usr/include/llvm/Support/JSON.h>
2 changes: 1 addition & 1 deletion librarian/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
foreach(lib sysy;sysu)
file(GLOB mains ${lib}/*.cc)
add_library(${lib} SHARED ${mains})
add_library(${lib} ${mains})
install(TARGETS ${lib})
target_include_directories(${lib}
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../include)
Expand Down
2 changes: 1 addition & 1 deletion parser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,5 +324,5 @@ flowchart TD;
- [GNU Bison - The Yacc-compatible Parser Generator](https://www.gnu.org/software/bison/manual/)
- [FindBISON — CMake 3.20.6 Documentation](https://cmake.org/cmake/help/v3.20/module/FindBISON.html)
- [llvm::json](https://github.com/llvm/llvm-project/blob/llvmorg-18.0.6/llvm/include/llvm/Support/JSON.h)
- [llvm::json](https://github.com/llvm/llvm-project/blob/llvmorg-18.1.8/llvm/include/llvm/Support/JSON.h)
- 该文件同样位于 ubuntu:24.04 中 [llvm-dev](https://packages.ubuntu.com/noble/llvm-dev) 包的 </usr/include/llvm/Support/JSON.h>

0 comments on commit d182969

Please sign in to comment.