A simple memory testing utility

Removed github bits

+6 -39
-30
.github/workflows/release.yml
··· 1 - name: "build-and-release" 2 - 3 - on: 4 - push: 5 - branches: 6 - - master 7 - 8 - jobs: 9 - build-and-release: 10 - runs-on: ubuntu-20.04 11 - 12 - steps: 13 - - name: Checkout repo 14 - uses: actions/checkout@v2 15 - 16 - - name: "Build and test" 17 - run: | 18 - sudo apt-get -qq update 19 - sudo apt-get install -y valgrind make gcc 20 - make test 21 - - uses: "marvinpinto/action-automatic-releases@latest" 22 - with: 23 - repo_token: "${{ secrets.GITHUB_TOKEN }}" 24 - automatic_release_tag: "latest" 25 - prerelease: true 26 - title: "Development build" 27 - files: | 28 - LICENSE.txt 29 - README.md 30 - memtest
+6 -9
README.md
··· 1 1 # memtest 2 2 3 - [![build-and-release Actions Status](https://github.com/jeduardo/memtest/workflows/build-and-release/badge.svg)](https://github.com/jeduardo/memtest/actions) 4 - 5 3 This is a simple utility which allocates as much megabytes of RAM as requested, pausing 0 or more seconds during allocation. It was designed to verify the progression of memory allocation on Linux environments under cgroups constraints for memory usage. 6 4 7 5 ## Building 8 6 9 7 The following dependencies are required to build the software: gcc, automake, and [valgrind](http://valgrind.org/) for the small test suite. 10 8 11 - * `make all` to build, test, and prepare the program for release. 12 - * `make test` to build and test the program. 13 - * `make memtest` to just build the program. 14 - * `make clean` to clean the entire workspace. 15 - 9 + - `make all` to build, test, and prepare the program for release. 10 + - `make test` to build and test the program. 11 + - `make memtest` to just build the program. 12 + - `make clean` to clean the entire workspace. 16 13 17 14 ## Usage 18 15 19 16 The program accepts two arguments: 20 17 21 - * -m: memory size in MB, required. 22 - * -s: number of seconds to wait between allocations, optional. 18 + - -m: memory size in MB, required. 19 + - -s: number of seconds to wait between allocations, optional. 23 20 24 21 ## Sample run 25 22