Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Sep 27, 2024
1 parent 9032c1f commit 72bcb38
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 26 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
root = true
[*]
indent_style=tab
indent_size=tab
tab_width=4
end_of_line=lf
charset=utf-8
trim_trailing_whitespace=true
max_line_length=120
insert_final_newline=true

[*.{yml,yaml}]
indent_style=space
indent_size=2
tab_width=8
end_of_line=lf
44 changes: 18 additions & 26 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ name: Release

on:
push:
branches:
- master
# tags:
# - '*'
tags:
- '*'

permissions:
contents: write # required for creating release and uploading assets
Expand All @@ -27,12 +25,6 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
# - name: Install deps (Ubuntu)
# if: runner.os == 'Linux'
# uses: awalsh128/cache-apt-pkgs-action@latest
# with:
# packages: lttng-tools lttng-modules-dkms babeltrace2 liblttng-ust-dev python3-babeltrace
# version: 1.0
- name: Build
run: ./build.sh
- name: Compress build output
Expand All @@ -45,19 +37,19 @@ jobs:
path: ${{ matrix.os }}-build.tar.gz
retention-days: 1

# create-release:
# name: Create Release
# needs: build-and-upload
# runs-on: ubuntu-latest
# steps:
# - name: Download Artifacts
# uses: actions/download-artifact@v4
# - name: Create Release
# id: create_release
# uses: softprops/action-gh-release@v2
# with:
# make_latest: true
# generate_release_notes: true
# files: |
# ubuntu-latest-build/ubuntu-latest-build.tar.gz
# macos-latest-build/macos-latest-build.tar.gz
create-release:
name: Create Release
needs: build-and-upload
runs-on: ubuntu-latest
steps:
- name: Download Artifacts
uses: actions/download-artifact@v4
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v2
with:
make_latest: true
generate_release_notes: true
files: |
ubuntu-latest-build/ubuntu-latest-build.tar.gz
macos-latest-build/macos-latest-build.tar.gz
1 change: 1 addition & 0 deletions scripts/rocksdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ cd rocksdb || { echo "directory not found"; exit 1; }

make static_lib

strip librocksdb.a
cp librocksdb.a ${out_dir}

echo "rocksdb built successfully"

0 comments on commit 72bcb38

Please sign in to comment.